I am working on a facebook api
for the first time. I am using PHP Open Graph SDK
. I searched from internet and found some tutorials, so I followed these steps and make a folder fb-test
and in folder i create these files login.php
and fb-callback.php
and write my app_id
and app_secret
in these files.
When I open mysite with this url:
www.mysite.com/fb-test/login.php
and my login page open with facebook login button. When I click on this button, the facebook page open and give me this error:
Then I searched about it and I go to settings tab and write my site url like that:
But it still gives me the same above error. So I searched again and I found that go to Webhooks tab and write my verify toke and callback file link Like:
So again I searched a lot but nothing found.
So please help me out to solve this problem. Hope you understand my question.