bundyxc Posted January 2, 2009 Share Posted January 2, 2009 haha, with that in mind, I have a question. I want to extract a user's MySpace picture, using their Friend ID. A friend ID comes up at the end of a URL. http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=6221 This has the friendID of "6221" (as I'm sure you can see). Now, if you follow that link, it will take you to a profile. I want to grab the image that he's using as his default picture. The image is in this TD <td class="text" width="75" bgcolor="#ffffff" height="75"> <a id="ctl00_cpMain_ctl01_UserBasicInformation1_hlDefaultImage" rel="searchMonkey-photo" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=6221"> <img border="0" alt="" src="http://b2.ac-images.myspacecdn.com/00000/20/52/2502_m.jpg" /> </a> <td> <img border="0" alt="" src="http://b2.ac-images.myspacecdn.com/00000/20/52/2502_m.jpg" /> How would I extract this image, if I only had the friendID? I need a script that will go to the page, and grab the image. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/139258-im-a-noob/ Share on other sites More sharing options...
.josh Posted January 3, 2009 Share Posted January 3, 2009 If I'm not mistaken, myspace offers up access to things like that, for developers. People generally use it to make apps like mafia wars or whatever, but it's there. I'd go to myspace.com and look around for the developers section. Quote Link to comment https://forums.phpfreaks.com/topic/139258-im-a-noob/#findComment-728487 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.