Reputation: 1
I am currently developing a facebook app and I would like to now how to publish to the users wall... Thanks alot
Upvotes: 0
Views: 426
Reputation: 20010
If your app is FBML i would suggest using the FBJS call:
This is not a php solution but it is more reliable as it doesn't require the current user to have accepted facebook stream permissions for your app.
For iFrame apps/ FB Connect the following is available FB.Connect.streamPublish
Otherwise you can use the Stream.publish rest api call available in:
$facebook->api_client->stream_publish
although this requires accepted app permissions
Upvotes: 1