Archive | Facebook RSS feed for this section

Feed Dialog – Message field deprecated!!!

facebookI’ve an iOS application named Translator Free  where I have been using Facebook iOS library to share translated text as user’s facebook status. Some day ago I noticed that facebook deprecated the message field. They deprecated it in July 12, 2011 and I noticed it much later. I’m surprised for their decision.

Continue Reading →

Comments { 8 }

How to Develop & Test Facebook Connect Application Locally

facebookMost of the time people write code locally, upload them in remote server and test whether his facebook connect base application works or not. They either has a domain name or a dedicated IP address. Because when we create a facebook application we have to provide an URL in the setting page. In this tutorial I’ll show you how to develop and test facebook connect base application locally. This tutorial will only work for facebook connect base application or website, not for facebook Iframe base canvas or page application.

Case:

  1. We want to develop a facebook connect base website/application
  2. We want to test everything in our laptop or local pc not on the remote server
  3. Suppose we don’t have a dedicated IP address or any domain

Continue Reading →

Comments { 31 }

Facebook Open Graph Meta WordPress Plugin

Have you ever noticed that, if you implemented Facebook like or Facebook Share in wordpress blog and when people click Like the shared post on user wall looks not good most of the time. This is because you didn’t implement the facebook open graph meta data in your blog post or page. As a result when facebook parse the link sometimes they can’t parse it properly that you expected.

To solve the situation you’ve to add open graph meta data in your site. Some days ago I manually added this in my blog’s theme, but later I decided to make a wordpress plugin so that it become easier to use and share with others.

Continue Reading →

Comments { 35 }

New JavaScript SDK & OAuth 2.0 based FBConnect Tutorial

facebookToday Facebook released their updated JavaScript SDK. Now the authentication system is based on OAuth 2.0 and HTTPS. So I updated my previous tutorial by writing this new post. In this post I’ll show you using javascript how could you easily integrate facebook connect (login/logout) features in your site. Additionally how to use Facebook API to get user’s information. Here I only used JavaScript no back-end PHP or any server side language.

In this tutorial I’ll explain:

  1. Facebook Authentication Process
  2. Facebook new JavaScript Usage
  3. Facebook Connect Authentication
  4. How to get extended permission to get more informations
  5. How to use graph api
  6. How to show stream publish prompt and share prompt
  7. How to publish post in user’s wall using graph api
  8. How to get additional information by FQL Query
  9. How to set status using old legacy api (REST api) calling
  10. How to show ajax loader when interactive with facebook

Continue Reading →

Comments { 214 }

PHP SDK 3.0 & Graph API base Facebook Connect Tutorial

facebookFacebook recently updated their PHP-SDK to version 3.0 also added new way of authentication. This is a major change. So this is the updated post of my old popular post.

In this version of my code, I avoided javascript authentication, because that is cookie based and php sdk 3.0 has some conflicts with the old system. Facebook will also update the javascript sdk soon, so later you can use the login/logout system of javascript api with php sdk. But for now you should use fully php base authentication.

In this post you’ll learn:

  1. How to integrate Facebook Connect in your website
  2. How to generate Facebook Login / Logout URL
  3. How to get extended permissions from users
  4. How to call graph api
  5. How to run FQL Query
  6. Publish Wall Post using PHP
  7. Publish Wall Post using Facebook Javascript API
  8. Invite friends using Facebook Javascript API
  9. No Facebook Javascript only use PHP SDK

Continue Reading →

Comments { 271 }

Graph API & IFrame Base Facebook Application Development PHP SDK 3.0

facebookFacebook recently updated their PHP-SDK to version 3.0. This is a major change. So I decided to update some of my facebook related tutorials with updated code.

At first I want to tell you that, this post is the updated version of my popular post Graph API & IFrame Base Facebook Application Development . So if you never saw that tutorial I request you to visit that and learn the basic things specially facebook application setup. Also on that post I mentioned some important things regarding iframe, so in this post I’ll not mention them again.

So in this updated post we will learn:

  1. How to update facebook php sdk 3.0 library
  2. Authentication
  3. How to give extended permissions
  4. How to call graph api
  5. How to publish stream using facebook’s latest dialog system
  6. How to request/invite your friends and track them

Continue Reading →

Comments { 258 }

Facebook App’s Infinite Redirection Solution

facebook Yesterday someone mailed me that my application http://apps.facebook.com/thinkdiffdemo is continuously refreshing. I developed that application 1 year ago for demo purpose. So today I checked and I found yeah its refreshing continuously.

Then I changed the application setting like below and thus the problem solved. So if you also faced this type of problem first check the application setting.

Continue Reading →

Comments { 56 }

iAdvance – Graph API & Iframe base Facebook Page Application Development

facebookFrom my previous tutorial you already learned how to setup and develop iframe base facebook page application. I named this tutorial iAdvance, because In this tutorial I’ll describe some more advance features but I’ll skip some parts those I already described in my previous tutorial.

Facebook provides some api to access user data and to access this data user must have to authorized your application. Otherwise you can’t call facebook api to get user data. Though facebook sends very minimal user data when user will visit your page app.

In this tutorial I’ll explain:

  1. How to add authentication feature in your page app using php sdk
  2. How to provide extended permissions list in the authorization page
  3. How to use graph api to get user’s data & update user’s status
  4. How to use FQL query
  5. How to parse signed_request sends by facebook
  6. How to detect if user liked your facebook page or not

Continue Reading →

Comments { 204 }

iSimple – Graph API & IFrame Base Facebook Page Application Development

facebookOnce upon a time there were some FBML/FBJS terms used to develop facebook page application. That time you had to learn fbml and fbjs to make simple page application. But the good news is someday ago facebook added iframe support in page application. So facebook page application development now become much easier than ever.

I named this tutorial iSimple, because in this tutorial I’ll teach you how easily you could setup a facebook page application, add in your page, customize your code to make nice app. This is the first part of my 2 parts series tutorial, in the next part I’ll show you more advance techniques to get user’s data via facebook API.

So in this tutorial I’ll explain:

  1. Simple iframe app setup for facebook page
  2. Basic php files structure setup
  3. How to use jQuery javascript library in the app
  4. How to use facebook’s social plugins
  5. iframe size changing using javascript code
  6. Invite Request Box
  7. Stream Publish in your wall
  8. Ajax page loading
  9. How to add application in facebook page

Continue Reading →

Comments { 77 }

ShareKit – must have iOS app share library

sharekitFor any kind of web or iOS application, marketing is very important for success. If people don’t know about your product then how will you get users. So you should be aware that if some people know about your product they can share that with their friends.

Facebook, twitter are very popular social network. So in your application you should integrate this feature that if people like your app they could share that in facebook or twitter.

If you search you’ll find facebook library or twitter library to integrate in your iOS application. But I found a very useful and open source iOS library developed in objective C named ShareKit, that has all of these popular services integrated. And its very easy to add this library in your iOS application and use. And their documentation is super easy to understand.

I integrated this library in one of my iOS application named Translator Free . Why I integrated this? Because users can share translated status in facebook or twitter or email their friend.

translator

If you develop game or application and wants your app/game users could share your app, you should use ShareKit. It will help you and save your time.

Comments { 5 }