Apologies this is a duplicate post of - Facebook Graph Api - Posting to Fan Page as an Admin
The graph API states verbatim that (https://developers.facebook.com/docs/graph-api/reference/v2.1/page/feed/):
The main body of the post, otherwise called the status message. Either link or message must be supplied. The message can contain mentions of Facebook Pages using the following syntax:
@[page-id]
For example the following message would mention the Facebook Developers page inline:
Test message @[19292868552] tag
If I post to a page (for which I am an admin) with the above syntax, using a page Id for the inline link (for which I am also an admin) and using a facebook application (for which I am a developer) this doesn't appear to work. An example of my call is:
https://graph.facebook.com/v2.1/page-id1/feed?message=Test+message+@[page-id2]+tag
In my case the tag is rendered as it appears above, i.e. no link or mention. So far I have tried:
- Different combinations of page-id1 and page-id2.
- HTML encoding the @, [ and ] symbols.
- Posting as a page or as a user.
- Using a different notation @[page-id:page-name]. This is not rendered atall, just becomes a blank space.
I must be missing something obvious if anyone is able to shed any light on this!