Facebook App后臺設(shè)置“Native or desktop app? ”

“Enable if your app is a native or desktop app”

這個設(shè)置有點搞。

如果你的App中內(nèi)置(集成)添加了 App Secret,則請選 YES。

否則請選 NO。

因為 應(yīng)用內(nèi)置 ?App Secret 會取消 Access Token 的訪問權(quán)限。

你在執(zhí)行 Facebook Report API 的時候就有可能會遇到

{
? ? "error":
? ? {
? ? ? ? "message": "(#15) This method must be called with an app access_token.",
? ? ? ? "type": "OAuthException",
? ? ? ? "code": 15
? ? }


{

"error": {

"message": "(#15) This method cannot be called with a client token or an app secret embedded in the client code",

"type": "OAuthException",

"code": 15,

"fbtrace_id": "DyiA7Osp/MB"

}

}

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容