I am trying to get access of facebook pages through php SDK
Facebook app version v2.2
And redirecting url like this https://www.facebook.com/v2.2/dialog/oauth?redirect_uri=http//www.example.com/john114614/settings&state=5255ad86fea19ab0e8d61776890d0224&scope=manage_pages&client_id=558252720931906&ret=login&sdk=php-sdk-4.0.13&ext=1431067051&hash=AeYVfkUZEGLy0wD_
Its stay at 302 status and redirecting to http//www.example.com/john114614/settings?code=blahbla.......
App id is perfect and more over this problem faced from last 5-6 days before that its working fine.
Please help me how i can resolve this issue?