Jump to content

code i need to look for to see if a user is logged into facebook


kevinkhan

Recommended Posts

when i go to a users profile when they are online i click view source and search for "is available" or "online" but none of these show up in the source code..

 

Any ideas on how to use a preg match function to check if a user is online on facebook??

 

[attachment deleted by admin]

Link to comment
Share on other sites

I would think the best thing to do would be to get the facebook api and see what it offers.  I would have to assume it's listed in the users personal details section (as opposed to the open profile pages), and whatever code you write will need express pemission from the facebook user to allow it access ~(otherwise it would be a serious security flaw).

Link to comment
Share on other sites

can you, you have to be loged in to see that little bubble of yours. And you can do that with some php functions aswell. Preg match is probably slower.

 

well the code that i have will be logged into facebook.. im just wondering what to look for in the source code of their page...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.