简体   繁体   中英

facebook PHP or Javascript get the user logged in info

I have a simple question : Can I get the username or some info of a user that is visiting my page if he is at the same time logged in at his facebook account?

I read about facebook graphe API but I'm not sure if it is requiring the user to login first into an app before we can get his info so basically I'm wondring if there is a PHP or javascript script that uses somehow facebook tools to detect if a visitor is logged in to facebook and catch his username if he is without asking him anything.

Thanks.

No you can't get any information without permission of facebook user, he need to logged in your application and allow you to get information whatever you want.

If this is possible so i think no one use facebook api for getting information if user already logged in his fb account...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM