• Resolved philipp.schreiber

    (@philippschreiber)


    Hello,

    is it possible to include a new filter where one can change the permissions to request?

    that would be great!

    perhaps we can do this like that (in the functions php of the plugin) or so:

    //get user data
    $extended_permissions = '';
    $extended_permissions = apply_filters('fb_connect_extended_permissions', $extended_permissions);
    $user = json_decode(@file_get_contents('https://graph.facebook.com/me?access_token=' . $cookie['access_token'] . '&scope=' . $extended_permissions));

    cheers
    philipp

Viewing 1 replies (of 1 total)
  • Thread Starter philipp.schreiber

    (@philippschreiber)

    Okay, forget it. It’s in the shortcode.php ;).

    $perms = apply_filters('fb_connect_perms', array('email'));

    Cheers
    Philipp

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Facebook Connect] Request for new hook’ is closed to new replies.