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


Manual Reference Pages  -  FACEBOOK::GRAPH::ACCESSTOKEN (3)

.ds Aq ’

NAME

Facebook::Graph::AccessToken - Acquire an access token from Facebook.

CONTENTS

VERSION

version 1.0801

SYNOPSIS



 my $fb = Facebook::Graph->new(
    secret      => $facebook_application_secret,
    app_id      => $facebook_application_id,
    postback    => https://www.yourapplication.com/facebook/postback,
 );
 my $token_response_object = $fb->request_access_token($code_from_authorize_postback);

 my $token_string = $token_response_object->token;
 my $token_expires_epoch = $token_response_object->expires;



DESCRIPTION

Allows you to request an access token from Facebook so you can make privileged requests on the Graph API.

METHODS

    uri_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::AccessToken::Response object.

LEGAL

Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FACEBOOK::GRAPH::ACCESSTOKEN (3) 2014-09-08

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