是否可以使用"publish_actions"扩展权限进行测试? [英] Is 'publish_actions' extended permissions available for testing?
问题描述
我一直在尝试使用"publish_actions"扩展权限来测试成绩和成就,但是当我添加它时,它不会显示在请求权限"页面中.就像它被忽略了.
我尝试了几种不同的方式:
$loginUrl = $facebook->getLoginUrl(array('scope' => 'publish_actions', 'canvas' => 1, 'fbconnect' => 0, 'redirect_uri'=>config_item('facebook_url')));
$loginUrl = 'https://www.facebook.com/dialog/oauth?'
. 'client_id=' . config_item('fbappid')
. '&redirect_uri=' . urlencode(config_item('facebook_url'))
. '&state=' . $_SESSION['state']
. '&scope=publish_actions';
两种方法都不起作用.其他人有运气测试吗?
在此处引用代码: http://developers.facebook.com/blog/post/539/?ref = nf
昨天遇到了同样的问题.
我认为fb会在不久的将来改变这种行为,但是目前看来,该应用必须位于游戏"类别中才能请求"publish_actions"许可...(我处于沙盒模式)>
I've been trying to test out Scores and Achievements using the 'publish_actions' extended permissions but when I add it, it doesn't show up in the Request for Permission page. It's like its ignored.
I've tried a couple different ways:
$loginUrl = $facebook->getLoginUrl(array('scope' => 'publish_actions', 'canvas' => 1, 'fbconnect' => 0, 'redirect_uri'=>config_item('facebook_url')));
$loginUrl = 'https://www.facebook.com/dialog/oauth?'
. 'client_id=' . config_item('fbappid')
. '&redirect_uri=' . urlencode(config_item('facebook_url'))
. '&state=' . $_SESSION['state']
. '&scope=publish_actions';
Both way don't work. Has anyone else had any luck testing this out?
Referencing code here: http://developers.facebook.com/blog/post/539/?ref=nf
ran into the same problem yesterday.
i think fb will change this behaviour in the near future, but currently it seems that the app must be in the category 'game' to request the 'publish_actions' permission... (i am in the sandbox mode)
这篇关于是否可以使用"publish_actions"扩展权限进行测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!