views:

155

answers:

1

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!

A: 

set the value of targetpageid=null

and check the output....

Adi_aks

related questions