Class FacebookRequestController
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Inheritance
System.Object
FacebookRequestController
Assembly: DotNetNuke.dll
Syntax
public class FacebookRequestController : object
Properties
|
Improve this Doc
View Source
AccessToken
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public string AccessToken { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
API_SECRET
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public static string API_SECRET { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
APP_ID
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public static string APP_ID { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Expires
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public DateTime Expires { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
|
Improve this Doc
View Source
IsValid
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public bool IsValid { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ProfileId
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public long ProfileId { get; set; }
Property Value
| Type |
Description |
| System.Int64 |
|
|
Improve this Doc
View Source
RawSignedRequest
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public string RawSignedRequest { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
UserID
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public long UserID { get; set; }
Property Value
| Type |
Description |
| System.Int64 |
|
Methods
|
Improve this Doc
View Source
GetFacebookDetailsFromRequest(HttpRequest)
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public static FacebookRequest GetFacebookDetailsFromRequest(HttpRequest request)
Parameters
| Type |
Name |
Description |
| HttpRequest |
request |
|
Returns
|
Improve this Doc
View Source
GetFacebookDetailsFromRequest(String)
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public static FacebookRequest GetFacebookDetailsFromRequest(string rawSignedRequest)
Parameters
| Type |
Name |
Description |
| System.String |
rawSignedRequest |
|
Returns
|
Improve this Doc
View Source
IsValidSignature(String, String)
Make modules that are aware of Facebook’s signed_request – a parameter that is POSTed to the web page being loaded in the iFrame, giving it variables such as if the Page has been Liked, and the age range of the user.
Declaration
public static bool IsValidSignature(string rawSignedRequest, string secretKey)
Parameters
| Type |
Name |
Description |
| System.String |
rawSignedRequest |
|
| System.String |
secretKey |
|
Returns
| Type |
Description |
| System.Boolean |
|
Extension Methods