Class Facebook
Defines constants and helper methods that facilitate Facebook functionality
Inheritance
System.Object
Facebook
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NFX.Web.dll
Syntax
public class Facebook : SocialNetwork, IApplicationComponent, IDisposable, IService, ILocalizedTimeProvider, IWebClientCaller, ISocialNetworkImplementation, ISocialNetwork, INamed, IConfigurable, IInstrumentable, IExternallyParameterized
Fields
FACEBOOK_PUB_SERVICE_URL
Declaration
public const string FACEBOOK_PUB_SERVICE_URL = "https://www.facebook.com"
Field Value
Type |
Description |
System.String |
|
Properties
AppID
Declaration
[Config]
public string AppID { get; set; }
Property Value
Type |
Description |
System.String |
|
CanPost
Declaration
public override bool CanPost { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
ClientSecret
Declaration
[Config]
public string ClientSecret { get; set; }
Property Value
Type |
Description |
System.String |
|
CredentialsEntry
Specifies how service takes user credentials
Declaration
public override CredentialsEntryMethod CredentialsEntry { get; }
Property Value
Overrides
Description
Returns service description
Declaration
public override string Description { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ID
Globally uniquelly identifies social network architype
Declaration
public override sealed SocialNetID ID { get; }
Property Value
Overrides
Instance
Returns a singleton instance of the social network provider
Declaration
public static Facebook Instance { get; }
Property Value
ServiceURL
Returns the root public URL for the service
Declaration
public override string ServiceURL { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
CreateSocialUserInfo(Nullable<SocialUserInfoToken>)
Declaration
public override SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = default (SocialUserInfoToken? ))
Parameters
Returns
Overrides
DoObtainTokens(SocialUserInfo, JSONDataMap, String)
Declaration
protected override void DoObtainTokens(SocialUserInfo userInfo, JSONDataMap request, string returnPageURL)
Parameters
Overrides
DoPostMessage(String, SocialUserInfo)
Declaration
protected override void DoPostMessage(string text, SocialUserInfo userInfo)
Parameters
Overrides
DoRetrieveLongTermTokens(SocialUserInfo)
Declaration
protected override void DoRetrieveLongTermTokens(SocialUserInfo userInfo)
Parameters
Overrides
DoRetrieveUserInfo(SocialUserInfo)
Declaration
protected override void DoRetrieveUserInfo(SocialUserInfo userInfo)
Parameters
Overrides
GetExternalLoginReference(String)
Declaration
public override string GetExternalLoginReference(string returnURL)
Parameters
Type |
Name |
Description |
System.String |
returnURL |
|
Returns
Type |
Description |
System.String |
|
Overrides
Implements
System.IDisposable
Extension Methods