Skip to main content

Posts

Showing posts from May, 2014

How to add facebook share button to your website

Assumption I assume that you already had created Facebook App and you have AppId for the particular domain. How to add a Facebook share button to your website page Let’s have a look how to add share button to your web page, so that people can share your web content on Facebook. Step - 1:   Get a Facebook AppId for your domain. First of all to add share button to your website you must have Facebook AppId for the domain on which you would like to place a button. This is basically to ensure security perspective. If you don’t know how to set up Facebook App please have a look at my blog on same. Step – 2: Add the Facebook JavaScript SDK to you web page. Facebook is providing code to initialize JavaScript SDK. You need to add this code within <body>…</body> tag of your .php/.html/.asp page. I suggest using Asynchronous JavaScript code. Facebook provide two methods as follow Synchronous: Loads in order it appears in your code Asynch...

How to create facebook app for website integration

How to create Facebook application to get app id for your website In this article, I’ll show you how to set up a Facebook application for your website domain so you can integrate Facebook features on your website, such as the Share Button, which require that your domain have an App ID. Facebook defines “App ID” or “appId” as “a unique identifier for your site that ensures that we have the right level of security in place between the user and your website.” When integrating the Facebook Social Plugins (Like Button, Send Button, Comments, etc.) into your website pages you don’t need an App ID, but for other features an App ID required, such as the Share Button. It’s pretty easy to set up a Facebook application for your domain, providing you with an App ID you can use for Facebook integration features on all pages of your domain or subdomains of your domain. Here’s how… Step – 1: You need to become a Facebook Developer I assume that you are new to Face...