如何发布没有publish_stream权限(带对话框)的签名? [英] How can I publish a checkin without the publish_stream permission (with Dialog)?

查看:228
本文介绍了如何发布没有publish_stream权限(带对话框)的签名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从应用程序发布签到,我已阅读签入文档使用HTTP POST请求执行此操作。
现在我想这样做,但没有publish_stream权限。我可以使用对话框(JavaScript SDK)做同样的事情吗?
我尝试使用FB.ui方法,但我不知道如何正确执行。

I want to publish a checkin from an application and I have read the Checkin Documentation to do so with an HTTP POST request. Now I would like to do it, but without the publish_stream permission. Can I do the same thing with Dialogs (JavaScript SDK) ? I tried with the FB.ui method, but I don't know how to do it properly.

FB.ui(
{
方法:'feed',
message:'我的消息',
place:'110506962309835'
}
);

FB.ui( { method: 'feed', message: 'My message', place: '110506962309835' } );

推荐答案

Feed对话框不会采用位置参数 - 而Facebook说这是按设计。 (请参阅此错误报告: https://developers.facebook.com/bugs/428651263853608

The Feed dialog does not take a place parameter – and Facebook say, this is "by design". (See this bug report: https://developers.facebook.com/bugs/428651263853608)

所以如果你想发布签名,恐怕没有办法,你必须使用API​​并代表用户发帖,先要求许可。

So if you want to publish checkins, I’m afraid there is no way around it, you’ll have to use the API and make the post on behalf of the user, asking for the permission first.

这篇关于如何发布没有publish_stream权限(带对话框)的签名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆