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 :)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top