Created
March 20, 2011 03:27
-
-
Save kineticac/878040 to your computer and use it in GitHub Desktop.
This is the way to create a query to ask for a set of permissions from Facebook using the Facebook Javascript SDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var basicPerms = "read_stream,user_interests"; | |
var queryString = 'select ' + basicPerms + ' from permissions where uid=me()'; | |
var query = FB.Data.query(queryString); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment