3

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

2

1 Answer 1

8

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.