Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2018 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b140ea2c46f0bf0d56c832a058f475ff to your computer and use it in GitHub Desktop.
Save anonymous/b140ea2c46f0bf0d56c832a058f475ff to your computer and use it in GitHub Desktop.
Custom Button For Facebook Login
********************
Custom Button For Facebook Login ->->->->
********************
http://shurll.com/bz8i2
(Copy & Paste link)
********************
However, you can write your own Javascript code function to mimic the functionality. –justanotherhobbyist Mar 21 '12 at 18:55 Good topic. They are not changing anything in the API. How to correct this? Confused about bibliography in old books Does mean "South Korea" or "Korea as a whole"? Problematic Players help (1/3); Newbie Declaring Solo Is it mandatory to have health insurance? How did people use ed? Collection of all configurable products (which has children) How can Dwarves produce honey underground? Meaning of "bull" in Byron's "this is no bull, although it sounds so" How to use 2,0,1,8 to make 51? What's the biggest circle that can fit between 2 Gaussian curves? Why was Harry Truman chosen to be Vice President in 1944? Backstabs you constantly in a subtle way Why was there a robot in Rocky IV? What is DJ's actual name? What is the Powershell syntax for adding and removing items from a TreelistEx field? Hugely important database replete with errors What is the mistake in "There are many Danes who speak English"? is it possible to have different layer styles at different scales in QGIS? How suitable is "" for "priest"? Can a concentration spell be cast without actually concentrating on it for an "instant" effect? What is the smallest geological change possible to make human evolution untraceable? How to draw a directed graph to show the relations among some notions? Text along bent arrows in TikZ more hot questions question feed . Stack Overflow Questions Jobs Developer Jobs Directory Salary Calculator Help Mobile Stack Overflow Business Talent Ads Enterprise Company About Press Work Here Legal Privacy Policy Contact Us Stack Exchange Network Technology Life / Arts Culture / Recreation Science Other Stack Overflow Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Software Engineering Unix & Linux Ask Different (Apple) WordPress Development Geographic Information Systems Electrical Engineering Android Enthusiasts Information Security Database Administrators Drupal Answers SharePoint User Experience Mathematica Salesforce ExpressionEngine Answers Stack Overflow em Portugus Blender Network Engineering Cryptography Code Review Magento Software Recommendations Signal Processing Emacs Raspberry Pi Stack Overflow Programming Puzzles & Code Golf Stack Overflow en espaol Ethereum Data Science Arduino Bitcoin more (26) Photography Science Fiction & Fantasy Graphic Design Movies & TV Music: Practice & Theory Worldbuilding Seasoned Advice (cooking) Home Improvement Personal Finance & Money Academia Law more (16) English Language & Usage Skeptics Mi Yodeya (Judaism) Travel Christianity English Language Learners Japanese Language Arqade (gaming) Bicycles Role-playing Games Anime & Manga Puzzling Motor Vehicle Maintenance & Repair more (32) MathOverflow Mathematics Cross Validated (stats) Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more (10) Meta Stack Exchange Stack Apps API Data Area 51 Blog Facebook Twitter LinkedIn site design / logo 2018 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required. Open in Desktop Download ZIP Find file Branch: master Switch branches/tags Branches Tags master Nothing to show Nothing to show New pull request Latest commit a672043 Mar 13, 2016 medyo add space Permalink Failed to load latest commit information. Stack Overflow works best with JavaScript enabled .. shareimprove this answer answered Mar 4 '15 at 6:01 Rahul Gupta 11 add a comment protected by Brock Adams Apr 12 '16 at 1:47 Thank you for your interest in this question. Coffeescript Done More A A . .. Unfortunately, its against Facebooks developer policies, which state: You must not circumvent our intended limitations on core Facebook features. But i would like to use my custom facebook connect image. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Security CheckPlease enter the text belowCan't read the text above?Try another text or an audio captchaEnter the text you see above.Why am I seeing this?Security CheckThis is a standard security test that we use to prevent spammers from creating fake accounts and spamming users.Submit.. Connect Blog Facebook Google+ Medium Twitter YouTube . app first commit Mar 13, 2016 gradle/wrapper first commit Mar 13, 2016 .gitignore first commit Mar 13, 2016 README.md add space Mar 13, 2016 build.gradle first commit Mar 13, 2016 gradle.properties first commit Mar 13, 2016 gradlew first commit Mar 13, 2016 gradlew.bat first commit Mar 13, 2016 settings.gradle first commit Mar 13, 2016 README.md custom-facebook-login-button Sample project showing how to customize the facebook login button Tutorial : . You signed out in another tab or window. Great answer –Moncho Chavez Nov 18 '13 at 21:05 add a comment up vote 4 down vote Found a site on google explaining some changes, according to the author of the page fb does not allow custom buttons. When calling the graph, you need to explicitly call the fields you need: FB.api('/me?locale=enUS&fields=id,name,email,firstname,las‌tname', function(response) { } –Jason Jun 14 '16 at 0:00 1 change publishstream to publicprofile for it to work –by0 Jun 19 '16 at 22:38 show 7 more comments up vote 11 down vote I got it working with a call to something as simple as function fblogin() { FB.login( function() {}, { scope: 'email,publicprofile' } ); } I don't know if facebook will ever be able to block this circumvention, but for now I can use whatever HTML or image I want to call fblogin and it works fine. –justanotherhobbyist Mar 21 '12 at 18:39 Obviously i've read that article you linked before posting my previous comment. But that's a separate use-case altogether. Here's what I had to do. Validations (Errors from your JS or Pre-Processors code) . But the way they do it is just an image linking to the facebook login just like you would do any button link. We also handle the scenario if user disallows our facebook app. Terms Privacy Security Status Help Contact GitHub API Training Shop Blog About . You signed in with another tab or window. Coding Preferences HTML Preprocessor. shareimprove this answer edited Jul 13 '13 at 5:21 sakibmoon 1,65831529 answered Mar 21 '12 at 19:25 Sachin Khosla 1,5641910 I notice there is href="#" in step 1. Reference: Facebook API Docs shareimprove this answer edited Feb 17 '15 at 20:12 marianosimone 770816 answered Sep 7 '14 at 12:36 Christian Dechery 521616 add a comment up vote 7 down vote It is actually possible only using CSS, however, the image you use to replace must be the same size as the original facebook log in button. Reload to refresh your session. Here is how to do it - 1) Create a simple anchor tag link with the image you want to show. Can anyone help me? facebook facebook-login shareimprove this question edited Jul 13 '13 at 5:12 sakibmoon 1,65831529 asked Mar 21 '12 at 18:07 user1091558 1,75172443 Possible duplicate! facebook.stackoverflow.com/questions/9952611/… –Philip Jun 13 '12 at 6:12 add a comment 5 Answers 5 active oldest votes up vote 124 down vote accepted The method which you are using is rendering login button from the Facebook Javascript code. Programs Women Techmakers Agency Program GDG Google Developers Experts Startup Launchpad 5a02188284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment