I am trying to fix a website to save the facebook user ID is someone is linked to the website from facebook.
Does anyone know how that can be done?
sorry, can you clearly write what u want
if you type anything link to anything, facebook will convert it to image.
oh, that's easy. You just save the "id=xxxxxxxxxxxxxxx" part.
I can't say I fully understand what you're asking for?
When a link is clicked, the URL of the referring page is passed in the request for the new page, which might be useful. I think PHP shows this in the $_SERVER['HTTP_REFERER'] variable.
It won't tell you the id of who clicked it, but if the user was viewing the page of a person who posted the link, you might be able to get the poster's name or id from the referrer address.
I would like to:
When someone is logged into facebook and clicks a link to my website via facebook, I would like to be able to save their facebook user ID when my website loads.