This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP experts please answer?
05-05-2013, 10:58 PM
Post: #1
PHP experts please answer?
is there any way to grab facebook cookies from user browser when she visits my link?

Here is what is going on: i have made an ip logger php scripts that works fine but i want it to grab facebook logged in users profile id and log it. Example:

<?
function fbidcook(){
// something that gets users id form browser cookes
}
$id = fbidcook("getidprofile");
...
$tolog = $ip . " - " . $id;
fwrite($file, $tolog);
?>

Ads

Find all posts by this user
Quote this message in a reply
05-05-2013, 11:13 PM
Post: #2
 
The only way to grab cookies from a different site is to use a virus or to inject html code on the other site in your case facebook, which facebook wouldn't allow (the term is called XSS). With this method you would use javascript to include the document cookies in some type of function, no browsers allow you to access cookies from other sites with your code.

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)