Cookies (FQL)

From Facebook Developers Wiki

Jump to: navigation, search


[edit] Description

The FQL cookies table. Query this table to return information about a cookie.

To structure your query, use the table name (cookies in this case) in the FROM clause. The items in the Name column correspond to columns in the table that can be referenced in the SELECT and WHERE clauses.

In order to make your query indexable, the WHERE in your query should contain an = or IN clause for one of the columns marked with a * in the Indexable column of the table.

The See Also section lists API functions that work on similar data; their documentation pages contain additional information about the contents of the column and example FQL queries.


[edit] Columns

IndexableNameTypeDescription
* uid int The user ID associated with the cookie.
name string The name of the cookie.
value string The value of the cookie.
expires int Time stamp when the cookie should expire. If not specified, the cookie never expires.
path string Path relative to the application's callback URL, with which the cookie should be associated. (Default value is /.)


[edit] See Also