Facebook 应用程序请求,添加“教育”时出错;在应用程序范围内
这有效:
<?php
$APPID = '000000000000000';
$APPSECRET = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
$CANVASSPAGE = 'https://apps.facebook.com/appname/';
$AppScope = 'publish_stream,create_event,user_birthday';
?>
这不起作用:
<?php
$APPID = '000000000000000';
$APPSECRET = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
$CANVASSPAGE = 'https://apps.facebook.com/appname/';
$AppScope = 'publish_stream,create_event,user_birthday,education';
?>
我收到错误消息:
错误:发生错误。请稍后重试。
如果您注意到这两者的唯一区别是我在后者的应用程序范围上添加了“教育”,然后根据应用程序请求抛出错误。
This Works:
<?php
$APPID = '000000000000000';
$APPSECRET = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
$CANVASSPAGE = 'https://apps.facebook.com/appname/';
$AppScope = 'publish_stream,create_event,user_birthday';
?>
This Doesn't Work:
<?php
$APPID = '000000000000000';
$APPSECRET = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
$CANVASSPAGE = 'https://apps.facebook.com/appname/';
$AppScope = 'publish_stream,create_event,user_birthday,education';
?>
And I get the error message:
Error: An error occurred. Please try again later.
If you notice the only difference on these 2 is I added 'education' on the app scope in the latter then throws an error upon app request.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有
教育
权限!用户
对象拥有教育 字段,但是访问此字段的适当权限是:
user_education_history
– 对于用户本身friends_education_history
– 对于用户的朋友There is no
education
permission!user
object haveeducation
field, however appropriate permissions to access this field is:user_education_history
– for user itselffriends_education_history
– for user's friends