How can I publish a checkin without the publish_stream permission (with Dialog)?

不羁的心 提交于 2019-12-11 11:40:35

问题


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( { method: 'feed', message: 'My message', place: '110506962309835' } );


回答1:


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)

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.



来源:https://stackoverflow.com/questions/12677316/how-can-i-publish-a-checkin-without-the-publish-stream-permission-with-dialog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!