A question asked by a user, as represented in the Graph API.
The User object has a
questions connection that returns questions posed by the current user.
To read a Question, you need the following permissions along with a valid
user_questionsfor questions asked by the current user.
friends_questionsfor questions asked by friends of the current user.
To publish a 'question' you need:
With that granted, you can post a question on behalf of a user or a Page by issuing an HTTP POST request with the question content to:
Questions that the current user has asked:
Posting a question:
curl -F 'access_token=...' \ -F 'question=What is your favorite color?' \ https://graph.facebook.com/me/questions
User who asked the question
Text of the question
Time when question was created
Time when question was last updated
The list of options available as answers to the question
The options available as answers to the question
array of QuestionOption objects
You can write to the
QUESTIONS_ID/options connection to post a option to the question by issuing an HTTP POST request with the
publish_stream permission and following parameters.
||Description of option||
If the write is successful, you get the following return.