Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FB.api(
- {
- method: 'fql.query',
- query: 'SELECT uid FROM permissions WHERE email = 1 AND uid = me()',
- },
- function(response) {
- if(response.uid != 'undefined') {
- console.log("User has permission.");
- } else {
- console.log("User does not have permission.");
- }
- }
- );
Add Comment
Please, Sign In to add comment