Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
149
rated 0 times [  151] [ 2]  / answers: 1 / hits: 17429  / 14 Years ago, mon, august 30, 2010, 12:00:00

I am trying to get extended permissions with my FB Connect Application.



I was wondering how one does this with FB.Login() as I am not very knowledgable in JS.



Thanks


More From » facebook

 Answers
36

FB.Login() docs have an example:



<INPUT TYPE=BUTTON ONCLICK=fbLogin() value=login>

function fbLogin() {
FB.login(function(response) {
if (response.session) {
//user is logged in, reload page
window.location.reload(true);
} else {
// user is not logged in
}
}, {perms:'read_stream,publish_stream,offline_access'});
}

[#95756] Friday, August 27, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rhett

Total Points: 671
Total Questions: 100
Total Answers: 102

Location: Hong Kong
Member since Tue, Oct 19, 2021
3 Years ago
;