Property | Type | Description | |
---|---|---|---|
Expires | string | ||
Token | string |
Property | Type | Description | |
---|---|---|---|
_apiBaseUrl | string | ||
_graphBaseUrl | string | ||
_oauthEndpoint | string |
Property | Type | Description | |
---|---|---|---|
ExecuteGraphApiAsync | void | ||
ExecuteGraphApiAsync | void | ||
GetUsingRestApi | string | ||
GetUsingRestApi | string | ||
GetUsingRestApiAsync | void | ||
GetUsingRestApiAsync | void |
Method | Description | |
---|---|---|
DeleteAsync ( string graphPath, Action |
Makes an asynchronous request to the Facebook Graph API to delete a graph object. See http://developers.facebook.com/docs/api Note that this method is asynchronous. This method will not block waiting for a network response. To delete objects in the graph, provide "/id", which will delete http://graph.facebook.com/id You can delete a like by providing /POST_ID/likes (since likes don't have an ID). |
|
DeleteAsync ( string graphPath, string>.IDictionary |
Makes an asynchronous request to the Facebook Graph API to delete a graph object. See http://developers.facebook.com/docs/api Note that this method is asynchronous. This method will not block waiting for a network response. To delete objects in the graph, provide "/id", which will delete http://graph.facebook.com/id You can delete a like by providing /POST_ID/likes (since likes don't have an ID). |
|
ExchangeAccessTokenForCode ( string code, long &expiresIn ) : string | ||
ExchangeAccessTokenForCode ( string code, string applicationKey, string applicationSecret, string postAuthorizeUrl, string userAgent, long &expiresIn ) : string | ||
Facebook ( ) : System |
Initializes a new instance of the Facebook class.
|
|
Facebook ( |
Initializes a new instance of the Facebook class.
|
|
Facebook ( string accessToken ) : System |
Initializes a new instance of the Facebook class.
|
|
Facebook ( string accessToken, long expiresIn ) : System |
Initializes a new instance of the Facebook class.
|
|
GenerateFacebookAuthorizeUrl ( string facebookApplicationKey, string redirectUri, string extendedPermissions ) : string |
Returns the url to authenticate with Facebook.
|
|
GenerateFacebookLoginStatusUrl ( string>.IDictionary |
Returns the url to check the login status of Facebook.
|
|
GenerateFacebookLoginUrl ( string>.IDictionary |
Returns the url to login with Facebook.
|
|
GenerateFacebookLoginUrl ( string>.IDictionary |
Returns the url to login with Facebook.
|
|
GenerateFacebookLogoutUrl ( string>.IDictionary |
Returns the url to logout of Facebook.
|
|
GetAsync ( string graphPath, Action |
Make an asynchronous request to the Facebook Graph API. See http://developers.facebook.com/docs/api Note that this method is asynchronous. This method will not block waiting for a network response. To fetch data about the currently logged authenticated user, provide "/me", which will fetch http://graph.facebook.com/me To fetch data about the currently logged authenticated user, provide "/me", which will fetch http://graph.facebook.com/me |
|
GetAsync ( string graphPath, string>.IDictionary |
Make an asynchronous request to the Facebook Graph API with the given string parameters. See http://developers.facebook.com/docs/api Note that this method is asynchronous. This method will not block waiting for a network response. To fetch data about the currently logged authenticated user, provide "/me", which will fetch http://graph.facebook.com/me For parameters: key-value string parameters, e.g. the path "search" with parameters "q" : "facebook" would produce a query for the following graph resource: https://graph.facebook.com/search?q=facebook |
|
GetAsync ( string graphPath, string>.IDictionary |
Make an async request to the Facebook Graph API with the given string parameters. See http://developers.facebook.com/docs/api Note that this method is asynchronous. This method will not block waiting for a network response. To fetch data about the currently logged authenticated user, provide "/me", which will fetch http://graph.facebook.com/me For parameters: key-value string parameters, e.g. the path "search" with parameters "q" : "facebook" would produce a query for the following graph resource: https://graph.facebook.com/search?q=facebook |
|
IsSessionValid ( ) : bool |
Checks whether this object has an non-expired session token.
|
|
PostAsync ( string graphPath, string>.IDictionary |
Publish to the Facebook Graph API. See http://developers.facebook.com/docs/api Note that this method is asynchronous. This method will not block waiting for a network response. To post to the wall of the currently logged authenticated user, provide "/me/feed", which will make a request to http://graph.facebook.com/me/feed For parameters: key-value string parameters, e.g. parameters "message" : "this is a message" would produce the follwing parameters message=this is a message |
|
SetAccessExpiresIn ( string expiresIn ) : void |
Set the current session's duration (in seconds since Unix epoch).
|
Method | Description | |
---|---|---|
ExecuteGraphApiAsync ( Method httpMethod, string graphPath, string>.IDictionary |
||
ExecuteGraphApiAsync ( |
||
GetUsingRestApi ( string methodName, string>.IDictionary |
||
GetUsingRestApi ( string methodName, string>.IDictionary |
||
GetUsingRestApiAsync ( string methodName, string>.IDictionary |
||
GetUsingRestApiAsync ( string methodName, string>.IDictionary |
public DeleteAsync ( string graphPath, Action |
||
graphPath | string | /// Path to the resource in the Facebook graph. /// |
callback | Action |
/// The callback. /// |
return | void |
public DeleteAsync ( string graphPath, string>.IDictionary |
||
graphPath | string | /// Path to the resource in the Facebook graph. /// |
parameters | string>.IDictionary | /// key-value string parameters. /// |
callback | Action |
/// The callback. /// |
return | void |
public ExchangeAccessTokenForCode ( string code, long &expiresIn ) : string | ||
code | string | |
expiresIn | long | |
return | string |
public static ExchangeAccessTokenForCode ( string code, string applicationKey, string applicationSecret, string postAuthorizeUrl, string userAgent, long &expiresIn ) : string | ||
code | string | |
applicationKey | string | |
applicationSecret | string | |
postAuthorizeUrl | string | |
userAgent | string | |
expiresIn | long | |
return | string |
public Facebook ( |
||
facebookSettings | /// The facebook settings. /// | |
return | System |
public Facebook ( string accessToken ) : System | ||
accessToken | string | /// The access token. /// |
return | System |
public Facebook ( string accessToken, long expiresIn ) : System | ||
accessToken | string | /// The access token. /// |
expiresIn | long | /// The expires in. /// |
return | System |
public static GenerateFacebookAuthorizeUrl ( string facebookApplicationKey, string redirectUri, string extendedPermissions ) : string | ||
facebookApplicationKey | string | |
redirectUri | string | |
extendedPermissions | string | |
return | string |
public static GenerateFacebookLoginStatusUrl ( string>.IDictionary |
||
parameters | string>.IDictionary | |
return | string |
public static GenerateFacebookLoginUrl ( string>.IDictionary |
||
parameters | string>.IDictionary | |
return | string |
public static GenerateFacebookLoginUrl ( string>.IDictionary |
||
parameters | string>.IDictionary | |
extendedPermissions | string | |
return | string |
public static GenerateFacebookLogoutUrl ( string>.IDictionary |
||
parameters | string>.IDictionary | |
return | string |
public GetAsync ( string graphPath, Action |
||
graphPath | string | /// Path to the resource in the Facebook graph. /// |
callback | Action |
/// The callback. /// |
return | void |
public GetAsync ( string graphPath, string>.IDictionary |
||
graphPath | string | /// Path to the resource in the Facebook graph. /// |
parameters | string>.IDictionary | /// key-value string parameters. /// |
callback | Action |
/// The callback. /// |
return | void |
public GetAsync ( string graphPath, string>.IDictionary |
||
graphPath | string | Path to the resource in the Facebook graph. |
parameters | string>.IDictionary | key-value string parameters. |
addAccessToken | bool | Add whether to set the access token or not. |
callback | Action |
/// The callback. /// |
return | void |
public PostAsync ( string graphPath, string>.IDictionary |
||
graphPath | string | /// Path to the resource in the Facebook graph. /// |
parameters | string>.IDictionary | /// key-value string parameters. /// |
callback | Action |
/// The callback. /// |
return | void |
public SetAccessExpiresIn ( string expiresIn ) : void | ||
expiresIn | string | Duration in seconds. |
return | void |