tags:

views:

79

answers:

3

I want to grab 2 pictures from say - 200 FB profiles.

The users can be random, but the photos should be profile pictures - not just from a random album.

Has anyone written anything like this or got any tips for rolling my own in PHP or C# ?

Thanks

+4  A: 

You can fetch the users picture with this URL:

http://graph.facebook.com/username/picture

Replace username with the user you like to get the photo of.

Also see for other options:

http://developers.facebook.com/docs/api

JochenJung
A: 

You can certainly use: PHP Simple HTML DOM Parser

http://simplehtmldom.sourceforge.net/

You can do fabulous stuff with it.

Codex73
+1  A: 

If you have profile ID's, you can access them through this url:

<img src="http://graph.facebook.com/0000000/picture?type=large" alt="" />

Where obviously the 0000000 is the users profile name or vanintry url name.

thekaido