For me, the problem was in the GET request, since it seems that facebook is requesting the GET parameter, I will show you what I mean:
I had this:
uri = "http://www.facebook.com/pagename/app_appId";
When I changed it to below, it started working:
uri = "http://www.facebook.com/pagename/?sk=app_appId";
Hope this helps someone as it helps me.
Functional rocking
source share