2012-02-03 101 views
0

我正在測試通過位置使用this頁面提及的限制屬性鎖定我的Facebook應用程序,並在this頁面上進行了演示。取消設置Facebook應用程序限制

我能夠通過調用此功能來設置限制就好了:不過

https://graph.facebook.com/<APP_ID>?restrictions={"location":"US"}&method=post&access_token=<APP_ACCESS_TOKEN> 

我無法找到一個方法來移除限制,調用此不起作用:

https://graph.facebook.com/<APP_ID>?restrictions={"location":"US"}&method=delete&access_token=<APP_ACCESS_TOKEN> 

回答

2

解決這個問題比我想象的要簡單。您只需將位置設置爲空字符串:

https://graph.facebook.com/<APP_ID>?restrictions={"location":""}&method=post&access_token=<APP_ACCESS_TOKEN>