GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Facebook::Graph::Session(3) User Contributed Perl Documentation Facebook::Graph::Session(3)

Facebook::Graph::Session - Convert old API sessions into Graph API access_tokens.

version 1.0801

 my $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;

Allows 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.

Returns the URI that will be called to fetch the token as a string. Mostly useful for debugging and testing.

Makes a request to Facebook to fetch an access token. Returns a Facebook::Graph::Response object. Example JSON response:

Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
2014-09-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.