How do I post a link to the feed of a page via the Facebook Graph API *as* the page?

Posted by jsdalton on Stack Overflow See other posts from Stack Overflow or by jsdalton
Published on 2010-05-27T21:40:14Z Indexed on 2010/05/27 23:21 UTC
Read the original article Hit count: 210

Filed under:
|

I'm working on a plugin for a Wordpress blog that posts a link to every article published to a Facebook Page associated with the blog.

I'm using the Graph API and I have authenticated myself, for the time being, via OAuth.

I can successfully post a message to the page using curl via a POST request to https://graph.facebook.com/mypageid/feed with e.g. message = "This is a test" and it published the message.

The problem is that the message is "from" my user account. I'm an admin on this test page, and when I go to Facebook and post an update from the web, the link comes "from" my page. That's how I'd like this to be set up, because it looks silly if all the shared links are coming from a user account.

Is there a way to authenticate myself as a page? Or is there an alternate way to POST to a page feed that doesn't end up being interpreted as a comment from a user?

Thanks for any thoughts or suggestions.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-api