Skip to content

Commit

Permalink
Merge pull request #28 from markstos/master
Browse files Browse the repository at this point in the history
add_photo() was not documented. This patch documents it. 
  • Loading branch information
rizen committed May 6, 2013
2 parents 6932739 + 66c2231 commit 176cc7e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/Facebook/Graph.pm
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ An profile id like C<sarahbownds> or an object id like C<16665510298> for the Pe
Creates a L<Facebook::Graph::Publish::Post> object, which can be used to publish data to a user's feed/wall.
=head2 add_photo ( [ id ] )
Creates a L<Facebook::Graph::Publish::Photo> object, which can be used to publish a photo to a user's feed/wall.
=head3 id
Optionally provide an object id to place it on. Requires that you have administrative access to that page/object.
Expand Down Expand Up @@ -534,11 +538,11 @@ See also L<Facebook::Graph::Session>.
An array reference of session ids from the old Facebook API.
=head2 parse_signed_request ( signed_request )
=head2 parse_signed_request ( $signed_request )
Allows the decoding of signed requests for canvas applications to ensure data passed back from Facebook isn't tampered with. You can read more about this at L<http://developers.facebook.com/docs/authentication/canvas>.
=head3 signed_request
=head3 $signed_request
A signature string passed from Facebook. To capture a signed request your app must be displayed within the Facebook canvas page and then you must pull the query parameter called C<signed_request> from the query string.
Expand Down

0 comments on commit 176cc7e

Please sign in to comment.