Answer the question
In order to leave comments, you need to log in
How to get action/mood from a post in Facebook Graph API?
I created a test application and a token for the user, I try to get information from the post, but it does not come complete. I need to get the full post title including user action, mood, etc. More details in the screenshot:
Tell me how to get this data? If it is possible of course. Google and of. documentation didn't help.
Answer the question
In order to leave comments, you need to log in
You did not read the documentation very carefully, although everything is pretty sensibly written in it.
There is a fields parameter, which is passed a list of fields. https://developers.facebook.com/docs/graph-api/usi...
There is also an interesting metadata parameter that will return you a list of object fields with descriptions.
$request = new FacebookRequest(
$session,
'GET',
'/10206059239425923_10211089063488381',
array(
'metadata' => '1'
)
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question