开发者

How to ask user for permission to publish in his news feed?

开发者 https://www.devze.com 2022-12-23 02:23 出处:网络
This is what I have so far <input type=\"submit\" /> <fb:prompt-permission perms=\"publish_stream\">Click Here</fb:prompt-permission>

This is what I have so far

<input type="submit" />
<fb:prompt-permission perms="publish_stream">Click Here</fb:prompt-permission>

I want to prompt the user by showing him a dialog box to allow my application to 开发者_StackOverflow中文版publish in his news feed when he clicks the submit button.


What I would suggest is to is convert over to using the Facebook Javascript API. The normal workflow is to ask the user to login prior to having them fill out a form that get's published to his wall. See https://developers.facebook.com/docs/reference/javascript/ for more information.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号