Ignore:
Timestamp:
Jan 12, 2013, 1:43:13 PM (11 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
e3a0d71, 4485285
Parents:
4626016
git-author:
Jason Gross <jgross@mit.edu> (01/12/13 13:13:18)
git-committer:
Jason Gross <jgross@mit.edu> (01/12/13 13:43:13)
Message:
Remove trailing whitespace

This commit was made with the command sequence

    for i in $(git ls-files | tr '\n' ' ');
    do
      echo $i; sed -i s'/\s\+$//g' "$(readlink -f $i)";
    done
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/Facebook/lib/Facebook/Graph/Cookbook/Recipe1.pod

    r2a42248 r7869e48  
    6464
    6565 my $urlmap = Plack::App::URLMap->new;
    66  
     66
    6767 # your code will go here
    6868
    6969 $urlmap->to_app;
    7070
    71 All the code we have you add should go in the C<# your code will go here> block, in the order that we have you add it. 
    72  
     71All the code we have you add should go in the C<# your code will go here> block, in the order that we have you add it.
     72
    7373=head2 Step 6: Create your Facebook::Graph object.
    7474
     
    8080    secret      => 'Put Your Application Secret Here',
    8181 );
    82  
     82
    8383Now you need the URL you entered in step 3, and the application ID and secret you got in step 4.
    8484
     
    186186
    187187 sudo plackup --port 80 app.psgi
    188  
     188
    189189Now we point our browser to:
    190190
    191191 http://www.yourapplication.com/facebook
    192  
     192
    193193Voila! You have created an authenticated Facebook app. If you would like to see this full program check out C<eg/recipe1.psgi> inside this distribution of L<Facebook::Graph>.
    194194
     
    196196=head1 CAVEATS
    197197
    198 You should never design an application using all the poor stuff we've done here, like using a shared L<Facebook::Graph> object, not using a Framework/CMS or at least L<Plack::Builder>, not using a templating system, passing the offline access token through the URL, etc. We've made comments about these things as we did them to warn you. These choices were made here B<only> because this is example code who's primary purpose is to show you how to use L<Facebook::Graph>, and not best practices for web development. 
     198You should never design an application using all the poor stuff we've done here, like using a shared L<Facebook::Graph> object, not using a Framework/CMS or at least L<Plack::Builder>, not using a templating system, passing the offline access token through the URL, etc. We've made comments about these things as we did them to warn you. These choices were made here B<only> because this is example code who's primary purpose is to show you how to use L<Facebook::Graph>, and not best practices for web development.
    199199
    200200=head1 SEE ALSO
Note: See TracChangeset for help on using the changeset viewer.