开发者

How to get a facebook user id if he is not logged into your app?

开发者 https://www.devze.com 2023-02-13 17:45 出处:网络
I want the get 开发者_高级运维a users facebook ID, but that user is not registered to my app. I only want his ID to have a picture of him, but Can I even have his ID if he is not inside my app?

I want the get 开发者_高级运维a users facebook ID, but that user is not registered to my app.

I only want his ID to have a picture of him, but Can I even have his ID if he is not inside my app? ** the user is logged into facebook.

Thank you.

I'm using facebook php API.


Don't think so....................................

Try logging out of facebook (you), then visiting a user's profile. What do you see? Well that's all the information you can have without them "connecting" to your app.

Perhaps you can have your script check for their facebook cookie... good luck with that.


There is no way to get information from facebook of someone that you don't know who they are. You would need a data match of some sort to accomplish this, and most of all, consent. This is primarily done for security purposes, otherwise you could get any information from anyone with nothing but a reference to their name, or whatever.


There is an "fbs_[appid]" cookie. You will get everything required in that cookie.

0

精彩评论

暂无评论...
验证码 换一张
取 消