开发者

java restfb: when public on wall how can i open a confirm window for the user?

开发者 https://www.devze.com 2023-02-24 01:35 出处:网络
I use RestFB 1.6.4 to create a facebook application. I publish on wall of users using the following command:

I use RestFB 1.6.4 to create a facebook application. I publish on wall of users using the following command:

facebookClient.publish("me/feed"开发者_运维问答;,...);

the problem is that this command publishes the message right away. i want an HTML page to pop up that shows the user the message that is about to be sent, allowing him to add a comment.

for example on Zynga Poker whenever I want to publish a message an html page pops up and I can confirm before the message is sent. is there something like that with restfb? does the facebook graph api allows this method ?

thanks!

update

I'll check the legacy API. maybe restfb is not the solution in here. When I try to post on wall using the method in RestFB, i need to request extra permissions to allow me to post on the wall of the user.

I need to find a different method that shows the user what I want to post on wall and when he confirms, the message will be posted without requesting more permissions when the user allows my appplication.

0

精彩评论

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

关注公众号