2

I am using HybridAuth library in my codeigniter application. but when i click on login with facebook button it gives error "You are not logged in: You are not logged in. Please log in and try again.". Please help some to know why this error occured.

Nick Bondarenko
  • 6,211
  • 4
  • 35
  • 56
Lalit Tiwari
  • 21
  • 1
  • 3

2 Answers2

1

This error is due to wrong 'Valid OAuth redirect Url' in Facebook login product settings. I also gone through this error. Facebook came up with Facebook Login product that links to a facebook app. Please check below correct settings pics i have that i got working -

Screenshot 1

Screenshot 2

Heemanshu Bhalla
  • 3,603
  • 1
  • 27
  • 53
0

FB login was working just fine but i think after Facebook Platform APIs updates my issue was adding https to the Redirect URL

http://www.facebook.com/connect/login_success.html

should be :

https://www.facebook.com/connect/login_success.html

Abdullah Tahan
  • 1,963
  • 17
  • 28