Facebook Php Sdk Login Website
2018年1月10日Facebook Php Sdk Login Website ->>->>->> https://tlniurl.com/1n6ukf
Rahul Shakya Awesome man, you did a great job&it reeally helped it out. PHP version should be 5.4 or greater. theres a very important rule for web development: only use 2 languages max in one file, one of them being english ;) –luschn Oct 15 ’14 at 10:18 my purpose is to get statuses from my FB profile and show these on my website without the annoying "Login button" to click. Your web host should be able to do this for you. Alternatively, use display type popup if you have special requirements precluding you from using the SDK. plz help me. Megh Raj Singh Yadav hello sir i cant access user email . The problem is in this code email is not getting. any fix?. Anders Colding-Jrgensen THANK YOU! I tried for hours, but kept getting an error from Facebook. : when I log in it works. Anat Orr fbconfig.php not working (white screen) can you help?. A row is created with the primary key, but the facebook data is never added. &} else {FROM $loginUrl = $helper->getLoginUrl(); TO $loginUrl = $helper->getLoginUrl(array(scope => email));& &} Laxmi Rajan how to fetch facebook friend list Joe Howe I got the email with the change in the 1st half of your example (also mentioned above by another user), but what is the else code needed for? hemraj I am used Facebook login its successed but I cant get frinds hemraj I cant get mobile no. Pingback: unable to login to my website with facebook login(). Faizan Zafar It is a good script but i have a problem whenever i click on login button it just takes me to fbconfig.php page and stop plzz suggest somthing. I try to logout and redirect to indexpage. but. When I try adding those following similar code style as what works for FULLNAME. Any guess? Samir Kumar same on my case bro what to do?. Thank you. Id like to just point out that this code is no longer working. Hammad Evo madam, can you help me, I have This webpage has a redirect loop issue coming up. it ill insert new record ( new user ) if (empty($check)) {Now check yours$counter = mysqlnumrows($check); //if new user . jack it is not working still am facing Error&. Adewunmi Adeyemi Dada how can i add another social network like twitter, Instagram and others. Greetings and thanks in advance. it ill insert new record ( new user ) if (empty($check)) {Now check yours$counter = mysqlnumrows($check); //if new user . Agent Of Chaos Bro, thanks a lot for this. Antonio Dvila email not working also& my other script worked& I will go back to that, thought this was simpler but if it does not work, then the simplicity is useless Nikocola Boombadaboom Hola! can you send the link of the previous version that you are using? I have php 4.9 and 5.2 and need something older& Antonio Dvila this worked for me by changing the the loginURL scope:else { $loginUrl = $helper->getLoginUrl(array( scope => email )); header(Location: .$loginUrl); }. Luis Taylor As you solved it?. satish How can get email, existing code is not retuning email, please guide Guest Yes I have the same problem too! And I couldnt fetch other properties as well. $check will be 0 . ckc Why I cant show the username? (Its use the full source of the Download Pack). Abdul Karim Thanks work done. $SESSION[’facebookaccesstoken’] = (string) $accessToken;} catch(FacebookExceptionsFacebookSDKException $e) {// There was an error communicating with Graphecho $e->getMessage();exit;}if($SESSION[’facebookaccesstoken’]) {// User authenticated your app!// Save the access token to a session and redirecttry {// Get the FacebookGraphNodesGraphUser object for the current user.// If you provided a ’defaultaccesstoken’, the ’{access-token}’ is optional.$response = $fb->get(’/me?fields=id,name,email’, $SESSION[’facebookaccesstoken’]);// get current user info object$me = $response->getGraphUser();// echo current user name and emailecho ’Logged in as ’ . Ricardo ferreira In my case. Yordi Wyckmans Ive got the following problem: After logging in the script redirects again to the login function. Partho Protim i get only full name and facebook id, not the email. Miha Meze Nice work Need help with last thing Uncomment the below lines in fbconfig.php 5a02188284
http://gravexpowa.vnweblogs.com/a360259/chat-icon-facebook-code.html http://gingterhay.blog.fc2.com/blog-entry-17.html https://amovseler.typeform.com/to/tuOO8y http://pegasusaa.xooit.fr/viewtopic.php?p=11687 http://telegra.ph/Facebook-Cam-Hack-Software-01-10 https://wasaburme.typeform.com/to/Eo3cOF https://disqus.com/home/discussion/channel-kaitinili/europe_1_site_facebook_est_pirat/ https://hub.docker.com/r/abcomtiolyi/fynnlxer/ https://thiabomawool.typeform.com/to/LJKMvk https://carledoczea.typeform.com/to/G25mFV
Rahul Shakya Awesome man, you did a great job&it reeally helped it out. PHP version should be 5.4 or greater. theres a very important rule for web development: only use 2 languages max in one file, one of them being english ;) –luschn Oct 15 ’14 at 10:18 my purpose is to get statuses from my FB profile and show these on my website without the annoying "Login button" to click. Your web host should be able to do this for you. Alternatively, use display type popup if you have special requirements precluding you from using the SDK. plz help me. Megh Raj Singh Yadav hello sir i cant access user email . The problem is in this code email is not getting. any fix?. Anders Colding-Jrgensen THANK YOU! I tried for hours, but kept getting an error from Facebook. : when I log in it works. Anat Orr fbconfig.php not working (white screen) can you help?. A row is created with the primary key, but the facebook data is never added. &} else {FROM $loginUrl = $helper->getLoginUrl(); TO $loginUrl = $helper->getLoginUrl(array(scope => email));& &} Laxmi Rajan how to fetch facebook friend list Joe Howe I got the email with the change in the 1st half of your example (also mentioned above by another user), but what is the else code needed for? hemraj I am used Facebook login its successed but I cant get frinds hemraj I cant get mobile no. Pingback: unable to login to my website with facebook login(). Faizan Zafar It is a good script but i have a problem whenever i click on login button it just takes me to fbconfig.php page and stop plzz suggest somthing. I try to logout and redirect to indexpage. but. When I try adding those following similar code style as what works for FULLNAME. Any guess? Samir Kumar same on my case bro what to do?. Thank you. Id like to just point out that this code is no longer working. Hammad Evo madam, can you help me, I have This webpage has a redirect loop issue coming up. it ill insert new record ( new user ) if (empty($check)) {Now check yours$counter = mysqlnumrows($check); //if new user . jack it is not working still am facing Error&. Adewunmi Adeyemi Dada how can i add another social network like twitter, Instagram and others. Greetings and thanks in advance. it ill insert new record ( new user ) if (empty($check)) {Now check yours$counter = mysqlnumrows($check); //if new user . Agent Of Chaos Bro, thanks a lot for this. Antonio Dvila email not working also& my other script worked& I will go back to that, thought this was simpler but if it does not work, then the simplicity is useless Nikocola Boombadaboom Hola! can you send the link of the previous version that you are using? I have php 4.9 and 5.2 and need something older& Antonio Dvila this worked for me by changing the the loginURL scope:else { $loginUrl = $helper->getLoginUrl(array( scope => email )); header(Location: .$loginUrl); }. Luis Taylor As you solved it?. satish How can get email, existing code is not retuning email, please guide Guest Yes I have the same problem too! And I couldnt fetch other properties as well. $check will be 0 . ckc Why I cant show the username? (Its use the full source of the Download Pack). Abdul Karim Thanks work done. $SESSION[’facebookaccesstoken’] = (string) $accessToken;} catch(FacebookExceptionsFacebookSDKException $e) {// There was an error communicating with Graphecho $e->getMessage();exit;}if($SESSION[’facebookaccesstoken’]) {// User authenticated your app!// Save the access token to a session and redirecttry {// Get the FacebookGraphNodesGraphUser object for the current user.// If you provided a ’defaultaccesstoken’, the ’{access-token}’ is optional.$response = $fb->get(’/me?fields=id,name,email’, $SESSION[’facebookaccesstoken’]);// get current user info object$me = $response->getGraphUser();// echo current user name and emailecho ’Logged in as ’ . Ricardo ferreira In my case. Yordi Wyckmans Ive got the following problem: After logging in the script redirects again to the login function. Partho Protim i get only full name and facebook id, not the email. Miha Meze Nice work Need help with last thing Uncomment the below lines in fbconfig.php 5a02188284
http://gravexpowa.vnweblogs.com/a360259/chat-icon-facebook-code.html http://gingterhay.blog.fc2.com/blog-entry-17.html https://amovseler.typeform.com/to/tuOO8y http://pegasusaa.xooit.fr/viewtopic.php?p=11687 http://telegra.ph/Facebook-Cam-Hack-Software-01-10 https://wasaburme.typeform.com/to/Eo3cOF https://disqus.com/home/discussion/channel-kaitinili/europe_1_site_facebook_est_pirat/ https://hub.docker.com/r/abcomtiolyi/fynnlxer/ https://thiabomawool.typeform.com/to/LJKMvk https://carledoczea.typeform.com/to/G25mFV
コメント