Share via


FacebookClientExtensions Class

Extension methods for FacebookClient .

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Mvc.Facebook.Client.FacebookClientExtensions

Namespace:  Microsoft.AspNet.Mvc.Facebook.Client
Assembly:  Microsoft.AspNet.Mvc.Facebook (in Microsoft.AspNet.Mvc.Facebook.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class FacebookClientExtensions
'Usage
public static class FacebookClientExtensions
[ExtensionAttribute]
public ref class FacebookClientExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type FacebookClientExtensions =  class end
public final class FacebookClientExtensions

The FacebookClientExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetCurrentUserAsync(FacebookClient) Gets the current user information.
Public methodStatic member GetCurrentUserAsync<TUser>(FacebookClient) Gets the current user information.
Public methodStatic member GetCurrentUserFriendsAsync(FacebookClient) Gets the current user friends information.
Public methodStatic member GetCurrentUserFriendsAsync<TUserFriend>(FacebookClient) Gets the current user friends information.
Public methodStatic member GetCurrentUserPermissionsAsync Gets the permissions granted by the current user.
Public methodStatic member GetCurrentUserPhotosAsync<TPhotos> Gets the current user photos.
Public methodStatic member GetCurrentUserStatusesAsync<TStatus> Gets the current user statuses.
Public methodStatic member GetFacebookObjectAsync(FacebookClient, String) Gets the Facebook object located at a given path.
Public methodStatic member GetFacebookObjectAsync<TFacebookObject>(FacebookClient, String) Gets the Facebook object located at a given path.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.Mvc.Facebook.Client Namespace