Facebook friends email FQL

前端 未结 2 489
名媛妹妹
名媛妹妹 2020-12-20 05:12

I have this FQL:

$femail = $facebook->api(array( 
\'method\' => \'fql.query\', 
\'locale\' => \'en_US\',
\'query\' => 
\'SELECT email 
FROM user          


        
2条回答
  •  Happy的楠姐
    2020-12-20 05:33

    You can't get email addresses of friends. Each account must opt-in to sharing their email address with the application. Friends can't opt other friends in, which is a good thing.

    Also, as @Barkermn01 mentioned, drop the AND uid = '.$friend_id.'

提交回复
热议问题