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

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)

Related

How can I get all posts in Facebook with a certain hashtag [duplicate]

This question already has answers here:
How can we track hashtags with the new facebook hashtag implementation
(2 answers)
Closed 8 years ago.
I'm building a contest app which requires to find images posted by anyone in their Facebook public timeline with a specific hashtag. User doesn't need to like our page or anything. we just want to gather all the posts that is using that particular hashtag.
Could anyone tell me how?
With Graph API v2.0 and the now gone public post search, you don't have the possibility to search for hashtags anymore.
There's the Public Feed API (https://developers.facebook.com/docs/public_feed), but this is restricted to FB partners only.
I don't see that you can achieve what you desire. Sorry.

Get users who liked my page [duplicate]

This question already has answers here:
Querying Users who 'like' my Facebook Page
(8 answers)
Closed 8 years ago.
Is it possible to get users who liked my page through Facebook Graph Api? Basically, I want to get last 5 users who liked my page.
I can't find it anywhere in the docs and endpoint /page/likes return likes which page made, not who likes page.
No, I don't think it's possible. Have a look at this bug.
You can also follow this discussion and can try to find a workaround to this problem. This bug is around 1 year old, so I think you might find a way achieve this. There have been a lot of discussion on this on StackOverflow.

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/

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.

Method to like a page via API [duplicate]

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.