
Now I should do some work in investgate Facebook API. The Facebook API can be called as the following format( I use php as an example):
|
|
The structure of the above codes is:
- set api_key and secret_key by your own
- send facebook_config to Facebook class and create an object of Facebook.
- call some method of this object and get some data of facebook which you want
- using those data to create an application
In technology, facebook uses RESTful technology, such as web services. facebook api transform data in JSON or XML format. And FBML( facebook Markup Language ) is used to combine and present data coming from developers’ application servers. There are some technologic points: first, APIs should be packet into web services. Second, developers’ application data should be presented in web pages. But I don’t think there is new technology here.
The flow diagram of calling facebook api is:
Chinese version is here:





近期评论