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.


Have you tried going through the photo object document? Comments:

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.

Need Your Help

JQuery is resizing my fields

javascript jquery html css twitter-bootstrap

I have a hide div that when I click on a checkbox, that div shows. My problem is that when the div shows the height of input fields are too small.

Change text color in haml files

ruby-on-rails sass haml

I'm developing a ruby on rails interface, and I need to change the text color of the label of a form written in haml.