I have already used twitter oauth and facebook library to login to my website.It works fine before now it is not working :(.I have debug the code and got to know that twitter access token and secret is not returning.For facebook login it also didnt get user id.pls help
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
Step 1: Download facebook library.https://github.com/facebook/facebook-php-sdk/tree/master/src
Step 2: Upload it in \application\libraries
Step 3:Create a facebook application.You wil get appId and secretcode.Paste the below code in your controller facebook() function.Set the appId and secret.
Step 4:Paste the below code in the view page and change the appId and domain name.
for more - http://www.livey.info/blog/category/php/codeigniter/