简体   繁体   English

Facebook使用Codeigniter登录

[英]Facebook Login with Codeigniter

I am trying to put Facebook Login button on Codeigniter platform. 我想在Codeigniter平台上放置Facebook登录按钮。

I have followed this procedure 我遵循了这个程序

http://www.dannyherran.com/2011/02/facebook-php-sdk-and-codeigniter-for-basic-user-authentication/ http://www.dannyherran.com/2011/02/facebook-php-sdk-and-codeigniter-for-basic-user-authentication/

but I got this error 但我得到了这个错误

API Error Code: 100
API Error Description: Invalid parameter
Error Message: Requires valid redirect URI.

I used exactly same code that the website provided. 我使用了与网站提供的完全相同的代码。

Can you tell me why I get this error message? 你能告诉我为什么会收到此错误消息吗?

你有没有设置有效的redirect_uri?

'redirect_uri' => ''

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM