Lennie
Lennie

Reputation:

Execute FQL Queries From .Net Facebook Developer Toolkit

Using the .Net Facebook Developer Toolkit, how do I execute FQL queries?

Upvotes: 2

Views: 1155

Answers (2)

Peter Stegnar
Peter Stegnar

Reputation: 12935

Example of the FQL query with Facebook Developer Toolkit:

api.Fql.Query("SELECT contact_email FROM user WHERE uid=" + UserID);

as you can see FQL is pretty similar to the SQL. "Query" method returns XML.

More documentation.

Upvotes: 1

Ershad
Ershad

Reputation:

Create a object of Facebook.Rest.Api and then you can access fqlquery where you want to pass the query as string and you will get result in string.

Upvotes: 0

Related Questions