Method to like a page via API [duplicate] - facebook

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
'Like' a page using facebook graph api
Can we able to like a page via facebbok API. I found method to like a post throught API, but I found nothing in the documentation.

Just go to this site [vist] http://developers.facebook.com/docs/reference/plugins/like/ and take down the code that you need.

Related

Automatic 'like' after logging in via Facebook [duplicate]

This question already has an answer here:
How can I use the Facebook Javascript API to automatically make a user like a page?
(1 answer)
Closed 9 years ago.
I've been googling for days. I have a read a lot of documentation, forums etc, but I haven't found a working solution.
I am trying to add 'like' to the page https://www.facebook.com/Superawesometest on behalf of the user after he/she has logged in via facebook. I recieve all the necessarry permissions and an access_token.
but using $facebook->api("/Superawesometest/likes", 'post'); wouldn't work
what am I doing wrong?
Try using the Superawesometest page's Page ID instead of the name "Superawesometest" in the API path

Fetch the facebook events using FB Graph API [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Will we be able to access life events on a timeline?
I want to fetch an event using facebook api like wedding anniversary etc using facebook graph API. Is it possible?
Please refer to Facebook Graph API.
https://developers.facebook.com/docs/reference/api/event/

Retrieve list of facebook pages with a specific application installed [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can I get a list of Pages that have installed my Tab app?
I'm trying to get some table where i can find the information that relates the application with the pages where the application page tab appears, i'm using Facebook API, but i don't know where to get that tables or info that i have so much need of , I've surfed this pages with no result so far:
http://developers.facebook.com/docs/reference/api/page/
http://developers.facebook.com/docs/reference/fql/application/
http://developers.facebook.com/docs/reference/fql/page/
I intent to use a query using fql to retrieve that, or anything else you think will work.
Please help.
There isn't a direct way to do this with FQL, however the Pages API (via Graph API) has a solution for you here: https://developers.facebook.com/docs/reference/api/page/#tabs
You can pass in /PAGE_ID/tabs and it will return an array of the page's tabs including each app ID.

a way to change the privacy of facebook post on a global or filtered [duplicate]

This question already has an answer here:
Changing privacy of old Facebook posts using the Graph API
(1 answer)
Closed 9 years ago.
I was thinking of a way to change the privacy of multiple posts on facebook automatically.
Can anyone tell me something?
thanks
This is not something that you can do using any of the Facebook APIs.

post facebook QuestionObject through graph api / php sdk [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Add Facebook “Question” over Graph API?
I was looking in graph API of facebook, there I only find about reading the information related to a question or all questions. see https://developers.facebook.com/docs/reference/api/question/
But I can't find any help regarding posting a question to wall. Please guide me if there is any way of doing this.
Thanks.
Till now facebook doesn't allow to post question using graph.You can read questions from facebook.see this tutorial https://developers.facebook.com/blog/post/590/
Currently there is no possibilities for application to publish Questions and Question Options via Graph API. Only "white-listed" application allowed to do so (which means you need a special agreement with Facebook on that)