FacebookImage

Dec 10, 2009 at 10:08 AM
Edited Dec 10, 2009 at 10:37 AM

Could someone please provide some short sample code how to use the FacebookImage class?

At the moment I'm using the following code to receive an user image from facebook in order to view it within an wpf application:

ImageSource imageSource = new BitmapImage(new Uri(FacebookUser.pic));

I would like to use asynch picture fetching.

 

Thanks! :)

Dec 10, 2009 at 5:10 PM

I think the WPF samples have examples of controls that use FacebookImage to asynchronously fetch ImageSources.

My project has something really similar to the FDT FacebookImage type.  The control I generally use for displaying them is:

http://fishbowl.codeplex.com/SourceControl/changeset/view/43488#526365

if you want another example.