Reputation: 5238
I am testing locking down my facebook app by location using the restrictions property as mentioned on this page and demonstrated on this page.
I was able to set the restriction just fine by calling this:
https://graph.facebook.com/<APP_ID>?restrictions={"location":"US"}&method=post&access_token=<APP_ACCESS_TOKEN>
I cannot find a way to remove the restriction, however, calling this does not work:
https://graph.facebook.com/<APP_ID>?restrictions={"location":"US"}&method=delete&access_token=<APP_ACCESS_TOKEN>
Upvotes: 0
Views: 275
Reputation: 5238
Solved the problem, its simpler than I would have thought. You just have to do set the location to be an empty string:
https://graph.facebook.com/<APP_ID>?restrictions={"location":""}&method=post&access_token=<APP_ACCESS_TOKEN>
Upvotes: 2