Any ideas on how to do this without prompting for the facebook dialog? I have a social game and would like to send an invite from the game to one of the user’s friends on via their wall or some other similar mechanism.
You can’t using Graph API.
Facebook has deprecated this…
See here : https://developers.facebook.com/roadmap/completed-changes/
Removing ability to post to friends walls via Graph API
We will remove the ability to post to a user’s friends’ walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail. If you want to allow people to post to their friends’ timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post
As mentioned, the only way is the Feed Dialog!
You can’t using Graph API.
Facebook has deprecated this…
See here : https://developers.facebook.com/roadmap/completed-changes/
Removing ability to post to friends walls via Graph API
We will remove the ability to post to a user’s friends’ walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail. If you want to allow people to post to their friends’ timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post
As mentioned, the only way is the Feed Dialog!