Reputation: 6040
I want to link a user to make a share post on my fb company page without having to authenticate. Currently I can get them to share on their own wall with:
<a href="http://www.facebook.com/sharer.php?s=100&p[title]=xxx&p[summary]=xxx&p[url]=xxx&&p[images][0]=xxx"></a>
But I'm not sure how I can get this to share to a page's wall rather than their timeline.
I got somewhat close by using the dialog feature:
But that just showed it as a normal share but done "via appName", unless there is a step I'm missing to link my app to my facebook page?
Thank you!
Upvotes: 0
Views: 528
Reputation: 1896
Unfortunately, the sharer.php method is used only to share only on the user's timeline.
If you want to ask the user to post on a page's timeline, you have to create an app, ask the user to authenticate it and then use the Facebook APIs to post on their behalf. I guess that will be cumbersome in your case, so I would just suggest you redirect to the particular Facebook page.
Upvotes: 2
Reputation: 2016
You can't !
To publish on YOUR page timeline, users need to have the rights to do it (be admin, writer, ...) : it's a manual requirement on the Facebook interface.
Upvotes: 1