Facebook api doesn't work in codeigniter |
[eluser]Riley123[/eluser]
I'm using Facebook class as a library, but getuser always returns 0 when i use Facebook library in codeigniter. Using Elliot's library is also just redirecting to the login link with no Facebook login page. If I run Facebook api test without using codeigniter framework everything works as normal. Any ideas?
[eluser]vbsaltydog[/eluser]
FB updated their API in the fall of 2011 to use openauth2, the CI FB library may not be current after these changes.
[eluser]Riley123[/eluser]
It seems that query strings are causing the problem. Facebook wants to pass query strings back to the web app to let it know it's logged in. How can i keep my nice urls and still work with FB query strings?
[eluser]Riley123[/eluser]
yes using htaccess is one way, but I think I'm gonna try using curl. this looks interesting: http://ellislab.com/forums/viewthread/196914/ |
Welcome Guest, Not a member yet? Register Sign In |