Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am using facebook oauth authentication with PHP + Yii.It was working perfectly till last month.But suddenly it doesn't return “code” parameter in response when we do callback request.What could be the reason? Has facebook updated its authentication API recently?

share|improve this question
Just as a starter,have a look at their blog developers.facebook.com/blog then you can see what they change and what's on their roadmap – TommyBs 14 hours ago
I changed callback URL from 'graph.facebook.com/oauth/…; TO 'facebook.com/dialog/…; AND returned response code for me. – vishal shah 13 hours ago

1 Answer

I changed callback URL from 'https://graph.facebook.com/oauth/authorize?client_id='CLIENT_ID'&return_session=true&scope=manage_pages,offline_access,create_event,publish_stream,read_insights,read_mailbox,read_requests,sms,user_photos,read_stream,email,user_checkins' TO 'https://www.facebook.com/dialog/oauth?client_id=CLIENT_ID&redirect_uri=YOUR_URL&scope=read_stream&response_type=code' AND returned response code for me.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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