Jump to content

Recommended Posts

Hi,

 

What I'm trying to-do is spider a persons friends on myspace to create a list of all the profiles so I can gather information. Just to get something clear first, this isn't about spamming, friend adding or anything else like that, it is for my project at uni to-do with user privacy on the internet.

 

Right my problem... if you go on a friends link for example:

 

http://friends.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=727701

 

You get presented with 40 friends on a page and to get between pages you have to use links like:

 

javascript:__doPostBack('ctl00$cpMain$pagerTop','2 ')

 

Obviously for page 3 it'd be:

 

javascript:__doPostBack('ctl00$cpMain$pagerTop','3 ')

 

And so on.

 

Right what can I do? I know how to get information from an url either using file() or by creating a function using fsockopen and then fputs to send a request. Which is fine if I just want one page of friends.

 

What I can't do is work out how to spider each page of the friends list because of the Javascript.

 

Thanks in advance to anyone that can help me here,

Peter

Link to comment
https://forums.phpfreaks.com/topic/52453-php-file-or-fsocket-help/
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.