How to comment on a photo and like a photo
I have researched in the doc but i could not find out anything.
I want user to comment others' photo and like their photo. How can i do this? I am using php-sdk also graph api.
You can write to the PHOTO_ID/comments connection to post a comment to the photo by issuing an HTTP POST request with the publish_stream permission and following parameters.
You can like a photo by issuing a HTTP POST request to PHOTO_ID/likes connection with the publish_stream permission. No parameters necessary.