how to ask for more permission after initial authentication in Facebook -


i've facebook app @ i've asked users give email, work info etc. users have granted permission retrieve these information.

now want retrieve phone numbers i've not asked previously.

so how ask authenticated users give access phone numbers?? code can add , next time logged in, prompted authenticate info??

you can call fb.login again specify permissions want request time scope. example below, requesting publish_stream:

fb.login(function(response) {   if (response.authresponse) {     // user gave permission           } else {     // user did not give permission   } }, {scope:'publish_stream'}); 

you can use fb.ui method set 'permissions.request'

see http://fbdevwiki.com/wiki/fb.ui#method:_.27permissions.request.27


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -