Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Testing for permissions for wall delivery
- var query = FB.Data.query('select stream_publish from permissions where uid={0}', session["uid"]);
- query.wait(function(rows) {
- if(rows[0]['stream_publish']){
- alert("user has permissions");
- }
- else{
- alert("user does not have permissions");
- }
- });
Add Comment
Please, Sign In to add comment