Need help. I have Graph API code that uses an auth token with offline permissions to post to a fan page as me. I can’t seem to figure out how to get it to post to a fan page as the fan page. The API Explorer only works as an individual. When I do a “use facebook as…” for the page and try to use the explorer, it tells me it has to revert me back to being me first. So the auth token is for my personal account, not the fan page account. The auth token has the manage_pages permissions, but that just lets me post to the page as me.
Anyone have an answer or know where I can find one? Search on FB, Bing, Google all pull up nothing on this specific issue.
The point being, of course, that while I could have the automation post as me, that means that the post doesn’t show as being from the page, so most people won’t see it. Need adult supervision! 😉
Check out the authentication documentation under the title
App Login. All the information you need is there…You have to request an access token for the page and not for the user – then all post you make are onbehalf of the page.
Fetching that url will give you the correct access token to post as your page.