How to get Facebook login button while using the server-side oauth flow?
-
27-10-2019 - |
문제
I am handling the authentication using the server side oauth flow. All that is working fine, but how do I get the Facebook Login button to show up, just the image without any logic!
PS: Is this possible without some hack like saving the fb login image and calling the image itself? Also, if it matters, I am doing all this in python-django
해결책
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 :)
제휴하지 않습니다 StackOverflow