Dec 10, 2009 at 11:08 AM
Edited Dec 10, 2009 at 11: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 6: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:


if you want another example.