How can I get extended Facebook permissions for other fields?
Answered
There is some circumstances, when you would like to get more user data from Facebook. It can be birthday, photos, check-ins ...
Best Answer
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:
Also here you can read more of the usage of the returned parameters:
- Roland Soos answered 18 weeks ago
Your Answer
Please login first to submit.