David Thomas Baker » Web » How does Flock access Facebook/Flickr friend list

When you sign into Facebook or Flickr whilst using Flock you will have access to a list of your friends via the People Bar.

Flock does this by calling the Facebook / Flicr API's

Here is an example request as seen in a wireshark dump:

GET /restserver.php?query=SELECT uid,name,pic_square,status,profile_update_time 
FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = 123456789)&
api_key=123456&session_key=12345&call_id=12345&method=facebook.fql.query&
format=JSON&v=1.0&sig=12345
HTTP/1.1
Host: api.facebook.com

(flock facebook code: http://svn-mirror.flock.com/trac/flock/browser/trunk/mozilla/flock/base/services/ )

Flickr is accessed a similar way, via their rest interface - eg:

GET /services/rest/?method=blah.blah 
Host: www.flickr.com
Posted by David Baker in: Web |
Tags: flock |
Perm Link: link
Some ads...

Search My Site

Featured Projects

Collector Comics is THE place to buy, sell, and research comics online. Launching soon.
Launch » Screenshot »
Webitor is a kick-ass easy to use, easy to extend, non-database driven Content Management System. Version 2 with reseller plan coming soon.
Launch » Version 1 »
GC Lounge is my own pet social network and test bed for social related code. Made by locals for locals.
Launch »
GG has indexed over half a million recent Trade Mark applications. This revolutionary tool is extremely valuable for industry experts.
Launch »
GCWiFi is the hub for techies interested in joining a ad-hoc wireless mesh spread across the Gold Coast
Launch »
Web based financial client management system
Launch »
OS Commerce modules and template modification
Launch »
View More Projects »

Daves Friends

BlueTeddy
WebSpark
GC Designer Forum
IPWealth Trademarks
Cheap Websites
Bonsai Shop
Webitor CMS Resellers
Hayley Crook
David Novakovic
Ben Novakovic
Richard Morwood
Gold Coast Linux
Aussie Click
CMS Website Design
Inspire Tuition
Gold Coast Music Network and Gold Coast Gig Guide

Chat with Dave

Powered by...

In the works

Webitor - Easy to use Content Management System with Shop, Newsletter, and Reseller plan