Pages

Sunday, July 7, 2013

How to Create your Facebook App

Create a Bit.ly URL for your blog

The first thing you'll need to do is create a short bit.ly url for your blog. This will enable us to circumvent the requirement for a secure base URL (beginning with https which we can't natively use with Blogger).

Make a note of this short bit.ly URL as you will need it when creating your app on Facebook.

Create your Facebook App

Now you'll need to create a Facebook Application as you'll need an appID to use in your code. Visit the Apps page on Facebook Developers to do this.

Name your application and fill in the first set of details as follows: 
  • Display Name - The name of your site 
  • Namespace - yournamespace (this will feature in the URL for your app. eg: http://apps.facebook.com/bloggerbuster)
  • Contact email - your email address 
  • App Domains - The URL(s) of the blog(s) you will be using this app for (eg: http://yourblog.blogspot.com) 

Next, click on "Select how your app integrates with Facebook" and fill in details as follows:
  • Website with Facebook Login - Your blog's URL (eg: http://yourblog.blogspot.com) 
  • Canvas URL - Here you'll need to enter the bit.ly url you generated for your site, adding a question mark at the end. For example, http://bit.ly/blgrbstr? 
  • Secure Canvas URL - Enter your blog's bit.ly URL beginning with https (eg: https://bit.ly/blgrbstr?) 

If you like, you can add an icon and thumbnail for your application at the top of the page; these will appear when readers use your app. Then save your changes.
Once you've done this, be sure to make a note of your App ID which will be shown at the top of the page as you'll need to add this to the code to be pasted in your site.

0 comments:

Post a Comment