How get facebook user ID from my application?

后端 未结 4 1516
傲寒
傲寒 2020-12-21 18:20

I created a facebook application and send request to a user through below code.Now when a user allow my application then i need his id and email address into my canvas url.B

4条回答
  •  星月不相逢
    2020-12-21 18:48

    The Facebook ID & email for the current user can be accessed through:

    $me['id'];
    $me['email'];
    

    Is that what you're after?

提交回复
热议问题