![]() |
![]()
| ![]() |
![]()
NAMEFacebook::Graph::Session - Convert old API sessions into Graph API access_tokens. VERSIONversion 1.1205 SYNOPSISmy $fb = Facebook::Graph->new( secret => $facebook_application_secret, app_id => $facebook_application_id, postback => 'https://www.yourapplication.com/facebook/postback', ); my $tokens = $fb->session(\@session_ids)->request->as_hashref; DESCRIPTIONAllows you to request convert your old sessions into access tokens. NOTE: If you're writing your application from scratch using Facebook::Graph then you'll never need this module. METHODSuri_as_string ()Returns the URI that will be called to fetch the token as a string. Mostly useful for debugging and testing. request ()Makes a request to Facebook to fetch an access token. Returns a Facebook::Graph::Response object. Example JSON response: LEGALFacebook::Graph is Copyright 2010 - 2017 Plain Black Corporation (<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
|