Deprecated REST API Methods 2010

Posted by mahmud ahsan in Facebook | No Comments

facebookEach year facebook changes many things, if you’re facebook developer from the earlier stage you’ll know it better than the new developers. Facebook’s biggest change was 3/4 months ago that is called graph api. Graph Api is really awesome to work with.

Beside Graph Api we still can use old REST api using the latest sdk from facebook. But facebook will deprecate some REST methods end of this year. So if you’re using any of them in your application its better to remove that.
Continue

Visitor statistics of Thinkdiff.net by Google Analytics

Posted by mahmud ahsan in Web | 6 Comments

The statistics I taken from my google analytics report. The report is from Jan 1,2010 to Aug 26, 2010. I published this google analytics report so that my visitors could know about how much people trust this site.

Additionally My site Thinkdiff.net’s
Alexa Rank = 36170
Facebook Fans =1013

Continue

How to develop facebook application for iphone

Posted by mahmud ahsan in Facebook, iPhone | 8 Comments

iphoneSomeday ago Facebook updated their old SDK for iphone and release a new SDK named IOS Library. This open source iOS library allows you to integrate Facebook into your iOS application include iPhone, iPad and iPod touch. Now its really very easy to implement facebook features in your iOS applications.

Why we should implement Facebook in iOS application:

  1. According to techcrunch Facebook Mobile Hits 100 Million Users, Growing Faster Than On Desktops. So you  can think there are lots of users are now using facebook from iOS base devices.
  2. According to AppleInsider iPhone sales predicted to top 80 million by 2012
  3. So people are using iPhone/iPod/iPad more now a days. And the number is growing both for facebook and iOS.
  4. Why not consider to include facebook users  in your iOS application so that your application looks more social.

A typical scenario of facebook features in iOS application:

Suppose you develop a game for iOS. You’ve a online leaderboard system for that game. Now people can compare themselves in the game based on leaderboard. But there might be many fake profile in the leaderboard, because you’re not aware of who’s playing the game. Though facebook has many fake account, but normally a user has real friends in facebook. So you can bring facebook user’s real friends in your application, so that the user feel more proud when he will be in a higher rank among his facebook friends.

Continue

Memory Game Advance

Posted by mahmud ahsan in iPhone | No Comments

After 8 days, Apple reviewed and approved my second iPhone game developed using Cocos2d framework.  In this game you’ve to match a pair of objects as quickly as possible. Objects are randomly placed so its a bit difficult but interesting. There is also a ranking system based on time and number of clicks. So play this game and have fun.

App Store Link

So what is cocos2d ?

cocos2d for iPhone is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on the cocos2d design: it uses the same concepts, but instead of using python it uses objective-c language. It also used Open GL ES to render game screen.

Checkout my other iphone applications/games from here.

iThinkdiff.net Games

Add comments features in your fanpage

Posted by mahmud ahsan in Facebook | 2 Comments

facebookSuppose you have some products to show your fanpage and you want to know what comments user made about those products. Then you can easily use facebook’s comments plugin to make this feature.

Checkout the comments demo

Its very easy to add comments. Using static fbml app and simple xfbml codes you can make this feature.

Continue

A Basic facebook fanpage template

Posted by mahmud ahsan in Facebook | 7 Comments

facebookSometimes you may need to make a page tab for your facebook fan page. If you need fanpage tab, you can easily add static fbml application in your fan page and customize the page using some xfbml tags and basic html/css/js. Here I provided a basic fanpage template. You can customize and use this code for your fanpage easily.

Features:
1. Easy CSS and HTML
2. One simple javascript function to show the invite box
3. Share Button
4. Fan and non fan detection code.
5. You can show special information only for fan, so this inspires user to be fan of your page.

But please remember, you’ve to fully customize the code for your purpose. I’ve just provided some functional code that you can easily use for your purpose. And to check fan detection code, you must have to check as non-admin of the page.

Continue

Retrieve time period like facebook fashion

Posted by mahmud ahsan in Facebook, PHP | 1 Comment

facebookIn facebook stream you’ll see the time period at the bottom of the stream. For example: 4 minutes ago, 2 days ago, 3 weeks ago…. In our recent project we have to show similar time fashion for our application’s activity stream. So I write a function to retrieve the time duration.

In our mysql database, we used a column named ‘created‘ as DATETIME in the table. I retrieve that created field as unix_timestamp. So the sql query looks like “SELECT UNIX_TIMESTAMP(created) as created from tableName

After getting the data I just pass the created value in my function. Here is the function:

Continue

How to retrieve facebook user’s friendlist

Posted by mahmud ahsan in Facebook | 15 Comments

facebookSometimes you may need to retrieve user’s friend-list in facebook. You can retrieve user friends list in several ways. Using new graph api you can retrieve friend-list or you can call legacy api to retrieve friend-list.

Continue

How to get mutual friends in facebook

Posted by mahmud ahsan in Facebook | 1 Comment

facebook Sometimes you may need to retrieve mutual friends between 2 facebook users. Then using this simple api call you can retrieve the mutual friends list. friends.getMutualFriends is a legacy api. But you can easily call this method using php-sdk legacy api calling system.

Continue

Increase facebook iframe app’s performance

Posted by mahmud ahsan in FB Connect, Facebook | 6 Comments

facebook This tutorial is for advanced facebook app developer. If you’re beginner than first learn about developing facebook application. Normally if you see iframe base or fbconnect base facebook application development using php sdk you’ll notice some authentication code.

In the example they will run that authentication code each time before page load. But if you look carefully you’ll notice that, the authentication code of php will take extra time to load the iframe base application. Now I’m going to describe how we solved such problem.

Continue

Page 1 of 1512345»10...Last »