Ignore:
Timestamp:
Jan 12, 2013, 1:43:31 PM (11 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Parents:
4626016 (diff), 7869e48 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge 7869e4801e577613b7db987d11bddb0a31fe755c into 46260161946c87dfed4fef9e3223b2327895f139
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Facebook/lib/Facebook/Graph.pm

    r5ef98c7 r7869e48  
    8787}
    8888
    89 sub authorize { 
     89sub authorize {
    9090    my ($self) = @_;
    9191    return Facebook::Graph::Authorize->new(
     
    302302 my $sarah_bownds = $fb->fetch('sarahbownds');
    303303 my $perl_page = $fb->fetch('16665510298');
    304  
     304
    305305Or better yet:
    306306
     
    311311    ->request
    312312    ->as_hashref;
    313    
     313
    314314 my $sarahs_picture_uri = $fb->picture('sarahbownds')->get_large->uri_as_string;
    315315
     
    319319    ->request('https://graph.facebook.com/btaylor')
    320320    ->as_hashref;
    321  
    322  
     321
     322
    323323=head2 Building A Privileged App
    324324
     
    342342 my $q = Plack::Request->new($env);
    343343 $fb->request_access_token($q->query_param('code'));
    344  
     344
    345345Or if you already had the access token:
    346346
    347347 $fb->access_token($token);
    348  
     348
    349349Get some info:
    350350
     
    419419
    420420 my $sarah = $fb->fetch('sarahbownds');
    421  
     421
    422422 my $sarah = $fb->query->find('sarahbownds')->request->as_hashref;
    423423
Note: See TracChangeset for help on using the changeset viewer.