Justin
Justin

Reputation: 18186

Post link to Facebook page as page admin

I'm trying to post a link to the wall of a Facebook page as the page admin, however it's not working correctly. It posts the link as me rather than as the page admin, and it shows up under "Recent Posts by Others" rather than the wall.

var client = new FacebookClient(post.Site.FacebookAccessToken);
dynamic result = client.Post("/" + pageId + "/feed", new {
    message = post.Message,
    link = post.Url
});

My access token has publish_stream and manage_pages permissions. The authorized Facebook account is an admin for the page. Is there some method for impersonating the page admin that I'm not doing correctly?

Upvotes: 0

Views: 1042

Answers (1)

Igy
Igy

Reputation: 43816

You need to use a Page access token if you want the post to appear 'as the page' - if you use your user access token the behaviour depends on some settings in the page management interface of Facebook and may or may not post as the page depending on those settings.

Upvotes: 1

Related Questions