3
votes

i am trying to configure facebook php sdk on localhost and trying to run example.php

i have changed app id and secret

my app domain is localhost and site url is localhost/facebook-php-sdk-master/examples/

what error i get is Fatal error: Uncaught OAuthException: This IP can't make requests for that application. thrown in C:\wamp\www\facebook-php-sdk-master\src\base_facebook.php on line 1334

I am not able to resolve it.

and also sometimes i get the error Uncaught CurlException: 35: Unknown SSL protocol error in connection to graph.facebook.com

if anyone has any idea how to configure it on localhost, please help me.

thanks in advance

1
i have seen almost all the stackoverflow queries, but nothing worked - user2368055

1 Answers

8
votes

Remove any IP address that you have whitelisted in your app setting's advanced tab.