Comment obtenir le bouton de connexion Facebook en utilisant le côté serveur flux OAuth?
-
27-10-2019 - |
Question
Je suis l'authentification à l'aide traitais du côté serveur flux OAuth. Tout ce qui fonctionne très bien, mais comment puis-je obtenir le bouton Facebook Connectez-vous pour afficher, juste l'image sans aucune logique!
PS: Est-ce possible sans un hack comme sauver l'image de connexion fb et appeler l'image elle-même? En outre, si cela importe, je fais tout cela en python-django
La solution
Posting comment as an answer
In that case my approach will be to use firebug see what classes they have used and image and just a small css and button should be there.I just saw there css
and html
here is what they have done
<a class="fb_button fb_button_medium">
<span class="fb_button_text">login</span>
</a>
and the are using a generic image just resizing it using css
trick :)
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow