21 Nisan 2013 Pazar

to add facebook login button to blog page

Studying on sundays really sucks :(  However, it is wise to spend these rainy cold days studying and make room for life for oncoming sunny beautiful days:)
In this post, i summarize steps to add a facebook login to a blog page as in http://ucasfumproject.blogspot.com/
I have followed two posts and a stackoverflow question to get it working..

- create a facebook app  >> https://developers.facebook.com/apps
specify the site url as your blog address 
- login to blogger dashboard
go templates >> edit HTML
- right after the body tag, copy the following:

remember to change appId accordingly..
- go layout >> add a gadget and add an HTML/Javascript  gadget as follows:


Hiç yorum yok:

Yorum Gönder