---
title: "Like and comment a Post on a Page with Open Graph API"  
description: "Like and comment a Post on a Page with Open Graph API"  
author: "Jayden Bell"  
published: 2013-05-20  
updated: 2013-05-20  
canonical: https://www.mindstick.com/forum/913/like-and-comment-a-post-on-a-page-with-open-graph-api  
category: "facebook api"  
tags: ["facebook api"]  
reading_time: 1 minute  

---

# Like and comment a Post on a Page with Open Graph API

Hi Everyone!\
To evaluate the title of the [question](https://www.mindstick.com/blog/23175/how-to-solve-neet-question-paper-in-less-time), I have created a page. And also app for getting a appID.\
I have posted a like([action](https://www.mindstick.com/forum/155752/what-is-action-result-with-its-types)) on a [tech](https://www.mindstick.com/services/technologies) crunch [article](https://www.mindstick.com/articles/95867/are-you-looking-for-500-credit-score-mortgage-lenders-houston-continue-reading-this-article)(Object) on my timeline with the mention of my FB app name. But, is it possible to let users of my [website](https://www.mindstick.com/articles/13110/why-copywriting-is-crucial-for-new-website-build) like & \
comment a particular post , which the admin posted to [public](https://www.mindstick.com/blog/11097/java-access-modifiers-the-public-and-the-private-modifiers) on my Page using graph API.\
how can we get [access](https://www.mindstick.com/articles/12994/how-foreigners-can-access-blocked-websites-in-china) [tokens](https://answers.mindstick.com/qa/92537/what-are-tokens) for users to do so ?\
would we still need app ID. even if it is about the [Facebook](https://www.mindstick.com/articles/44467/successful-companies-that-utilize-facebook-as-a-social-media-platform) page. ?\
Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)!

## Replies

### Reply by AVADHESH PATEL

Hi Jayden!\
Yes you can create Like and Comment over a particular Post and to do so you would be required to have a Facebook app and get User's authorization for publish_stream permission. After that you can create Like for a particular Post by making a HTTP POST request to POST_ID/comments with message field and would return comment_id as success and like by making HTTP POST to POST_ID/likes which would return true as success on creation of like.\
I hope above solution is useful for you.


---

Original Source: https://www.mindstick.com/forum/913/like-and-comment-a-post-on-a-page-with-open-graph-api

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
