Add a wall post to a page or application wall as page or application with facebook graph API

Posted by blauesocke on Stack Overflow See other posts from Stack Overflow or by blauesocke
Published on 2010-05-21T14:26:37Z Indexed on 2010/05/21 14:30 UTC
Read the original article Hit count: 508

Hi,

I wan't to create a new wall post on a appliaction page or a "normal" page with the facebook graph API. Is there a way to "post as page"? With the old REST-API it worked like this:

$facebook->api_client->stream_publish($message, NULL, $links, $targetPageId, $asPageId);

So, if I passed equal IDs for $targetPageId and $asPageId I was able to post a "real" wall post not caused by my own facebook account.

Thanks!

© Stack Overflow or respective owner

Related posts about facebook-graph

Related posts about facebook-graph-api