Retrieving a Specific Cookie
Problem
I need to retrieve a specific cookie using FQL.
Solution
SELECT name, value, path from cookies WHERE name="$name" AND uid = $user;
Discussion
Remember that all FQL queries are scoped to your application, so
if you specify the name of a cookie from a different app, you’ll get
back null
.
Get Facebook Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.