Main menu

How can I get extended Facebook permissions for other fields?

0

There is some circumstances, when you would like to get more user data from Facebook. It can be birthday, photos, check-ins ...

0

There is a WordPress filter for Nextend Facebook Connect plugin, which helps you to get extended access from your visitor.

In default the plugin only uses the email access, but you can add more to this list.

$scope = apply_filters('nextend_fb_scope', 'email');

Usage in your plugin or template:

function change_fb_scope($current_scope){
  return $current_scope.',user_birthday,user_hometown';
}
add_filter('nextend_fb_scope', 'change_fb_scope');

Don' for get separate every parameter with comma(,).

Other parameters, which are available and useful:

  1. Extended profile Properties
  2. Extended permissions
  3. Open graph permissions

Also here you can read more of the usage of the returned parameters:

http://www.nextendweb.com/knowledgebase/question/how-can-i-make-custom-calls-when-a-visitor-log-in-with-facebook-connect

Your Answer

Please login first to submit.