Issue
I am making an app where I am posting a photo as a result. I want to like the photo on behalf of the app user, without the user actually clicking the like link on the photo.
My aim behind this is that the like will get posted on the user's profile and get noticed by their friends.
Is this possible?
I am using php sdk but can work with JS sdk as well.
Thanks in advance
Solution
Taken from the facebook photo api documentation :
You can like a photo by issuing a HTTP POST request to PHOTO_ID/likes connection with the publish_stream permission. No parameters necessary.
All you have to do is retrieve an access token for the page. You can learn how to do that here under the section App Login
Answered By - Lix
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.