参见英文答案 > Why does Facebook Graph API say my account is non-active? 12个
我在AndroID Studio中使用Facebook的Graph API从公共Facebook页面提取状态,但图形请求在空指针异常中保持响应.
调试导致此消息“由于我们对Facebook平台所做的更改,对非活动帐户暂时禁用了对此数据的访问”.
Accesstoken token= new Accesstoken(getString(R.string.accesstoken), getString(R.string.facebook_app_ID), getString(R.string.userID),null,null,null,null,null ); GraphRequest req= GraphRequest.newGraPHPathRequest(token, "453355835083862", new GraphRequest.Callback() { @OverrIDe public voID onCompleted(GraphResponse response) { FacebookRequestError error = response.getError(); Log.e("Error","Error in response: " + error.getErrorMessage()); Log.e("Output", response.getJsONObject().toString()); } }); GraphRequest.executeBatchAsync(req);
给出输出:
03-25 15:48:49.867 17225-17225/com.example.daroodar.qbwirelessapp
E/Error: Error in response: (#200) Access to this data is temporarily
Disabled for non-active accounts due to changes we are making to the
Facebook Platform
这是什么意思?
解决方法:
似乎您的应用程序现在不活跃.检查FB developers console中的申请状态.您可能需要开始新的应用审核(请查看FB console中的应用审核标签).
另请检查FB Platform Policy是否允许您的应用程序权限.
总结以上是内存溢出为你收集整理的Facebook图形API阻止因非活动帐户访问数据 – Android全部内容,希望文章能够帮你解决Facebook图形API阻止因非活动帐户访问数据 – Android所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)