Enhanced Facebooker Permissions?

Facebook provides access to email users using advanced permissions.

There is also a way in JS and PHP to get users to grant permission when they accept the TOS application - http://wiki.developers.facebook.com/index.php/Extended_permissions

Is there a way I can do this using Facebooker?

Yours faithfully..

+3
source share
2 answers

You can do it just like this:

 : jquery ,: app_settings => "{permsToRequestOnConnect: 'email'}"}%> 'facebook') + '\' ')%>

. facebooker, previus .

+2

application.html.erb

<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
  google.load("jquery", "1.4.2");
</script>

<%= fb_connect_javascript_tag %> 
<%= init_fb_connect "XFBML", {:js => :jquery , :app_settings =>  " { permsToRequestOnConnect : 'publish_stream' }"} %>

<%= fb_login_button 'window.location = "/nextview";', :size => :medium, :length => :long, :v => 2 %> 
0

Source: https://habr.com/ru/post/1738732/


All Articles