Answer the question
In order to leave comments, you need to log in
How to define a social network?
Hello.
Tell me how best to determine the user's belonging to any social network using php.
It is necessary to determine which functionality to give to the user, VK or FB.
Answer the question
In order to leave comments, you need to log in
Theoretically, it is possible to check if the link to the head of the social network is highlighted in the visitor as visited. This is not a guarantee, but increases the likelihood. There is no other way, most likely.
You will not receive any data until the user himself allows it in the access settings within the social network.
And if you have such access allowed, then it should be obvious to you how to determine which API you connected to.
the user visits the site for the first time, the site must determine whether he is in the social network or notAnd how do you imagine that? Someone identifies a user on your site in order to determine if he or not is in any social network. How is it at all ... they themselves understood what you were asking? :)
In general, it was. I went to one landing. Didn't allow anything. After 10 minutes, a person writes to me on Facebook. "You have entered our site. Can we help you?" Actually I'm a f**k. Then he wrote "No thanks. I just looked." And how did they identify my account on FB?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question