var fb = new FacebookClient("AccessToken"); dynamic result = fb.Get("me"); string userName = result.name;
var fb = new FacebookClient("AccessToken"); dynamic result = fb.Get("me/photos"); foreach (dynamic photo in result.data) { string photoUrl = photo.source; // do something with the photo }This example shows how to use the Get method to retrieve a user's photos. The result is returned as a dynamic object, which can be looped through to access each photo object. The FacebookClient library is part of the Facebook SDK for .NET, which can be installed through NuGet package manager.