How to support "like friends photos" for Facebook user开发者_Python百科 using Facebook APIs or FQLs?
The REST API is deprecated, and the Graph API should be used whenever it´s possible. FQL only if there is no other/good way with the Graph API.
About liking Photos, see here: https://developers.facebook.com/docs/reference/api/photo/
You can like a photo by issuing a HTTP POST request to PHOTO_ID/likes connection with the publish_stream permission. No parameters necessary.
精彩评论