kuhn Posted May 22, 2007 Share Posted May 22, 2007 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 More sharing options...
kuhn Posted May 22, 2007 Author Share Posted May 22, 2007 *bump* Link to comment https://forums.phpfreaks.com/topic/52453-php-file-or-fsocket-help/#findComment-258934 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.