nov/fb_graph — pull request #142 by rromanchuk (2011-10-25 07:16:30+00:00)
Title: adding like! to likable objects

Would it be possible to add a simple method similar to comments for liking objects that can can be liked? I think there are a handful of these.

For example, checkins can be liked http://developers.facebook.com/docs/reference/api/checkin/

likes

Create

You can like a checkin by issuing a HTTP POST request to CHECKIN_ID/likes connection with the publish_stream permission. No parameters are necessary.

If the write is successful, you get the following return.

Description	Type
If the like succeeded	boolean
Delete

You can unlike an checkin by issuing an HTTP DELETE request to the CHECKIN_ID/like connection with the publish_stream permission.

If the delete is successful, you get the following return.

Description	Type
If the unlike succeeded	boolean