Messages tagged with my page are not displayed with an API call

I have a Facebook page created for my service here . The name of the page is Rowz.

There are several posts on the users page that marked the page in posts on their walls. These messages are displayed on the Rowz timeline. There is a "tagged" field in the Graph API for the page, which, as I expected, will receive these messages to me, but the same does not work.

Is there any way to get those messages that are marked in them by Rowz?

+7
source share
1 answer

According to the documentation for the page object in the graphical API, the tagged connection gets the desired result:

name: tagged
Description: Photos, videos, and posts in which the Page tagged.
permission: any valid access_token or user access_token .
returns: a heterogeneous array of Photo , Video or Post objects.

You can test it here using the API API (using the page id mentioned in the question): https://developers.facebook.com/tools/explorer/?method=GET&path=265813166783408%2Ftagged

This works great for me.

You may also consider using FQL. Query stream_tag using a query something like this:

 SELECT post_id,actor_id FROM stream_tag WHERE target_id=265813166783408 

After that, you can iterate over post_id and query the stream table for the message field.

-one
source

All Articles