How get facebook user ID from my application?

后端 未结 4 1517
傲寒
傲寒 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:26

    I am not familiar with php to comment on the code above. However in general it would be better to use javascript sdk for login alone (faced the same issue in asp.net). That way post user login, the control comes back to the same page where it was initiated. For example:

        

提交回复
热议问题