Class FbRequestBuilder
Facebook Graph API request builder.
Inheritance
System.Object
FbRequestBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Facebook
Assembly: cs.temp.dll.dll
Syntax
public class FbRequestBuilder
Constructors
FbRequestBuilder(String)
Create new builder object with request.
Declaration
public FbRequestBuilder(string request)
Parameters
Type | Name | Description |
---|---|---|
System.String | request | Initial request body. Fro example |
Properties
RequestString
Returns built request string.
Declaration
public string RequestString { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AddCommand(String, Object[])
Adds facebook Graph API command to a current request.
Declaration
public void AddCommand(string command, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | command | |
System.Object[] | args |
AddCursor(FbCursor)
Add pagination cursor.
Declaration
public void AddCursor(FbCursor fbCursor)
Parameters
Type | Name | Description |
---|---|---|
FbCursor | fbCursor |
AddLimit(Int32)
Adds a limit command.
Declaration
public void AddLimit(int limit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | limit |