facebook etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
facebook etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

19 Mayıs 2014 Pazartesi

intro. to developing a Facebook app

In order to evaluate my thesis work, i have to prepare a website with a Connect with Facebook button. I am using Spring social api for Facebook functionality.
You have to enter your mobile phone and get a confirmation code to create a Facebook app from https://developers.facebook.com/ Apps tab. Unfortunately, this was a bit problematic for me, i waited more than an hour to get a confirmation code with sms. After creating a Facebook app, you obtain an app id and app secret. They are important for your application to run successfully. Moreover, in development mode, do not enter any app domain, but add your localhost address as a canvas url as explained in http://stackoverflow.com/questions/4532721/facebook-development-in-localhost.
Now, with the help of the app id and app secret, you are able to write your application..

Edit:
Facebook changed policy this month. The default Graph Api version is 1.0 for Facebook apps created before this month and 2.0 for apps created in this month. The facebook issues are summarized in http://www.nextscripts.com/known-issues/facebook-issues/

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: