MySpace Friend List Export

Based on a blog entry I read about backing up your profile, I decided to try and write a script that would grab your entire friend list so you can have a local copy of it. It was kinda hard to do, but I’ve managed to write a relatively simple script that will grab your entire friends list, and display it on the one page. It does so by grabbing each page in the “View All Friends” section, and essentially merges them all together. What you end up with is one page that contains your entire friends list.

Take a look at http://stuff.daniel15.com/php/myspace/get_friends.php for the script so far. Note that it will currently not work on private profiles (although I’m working on a fix for that). For now, if you have a private profile, you must temporarily set your profile to public in order to export the friends list.

You can easily save the page it generates (via File → Save As…) and keep it as a local copy of your friends list. Yes, I know how it displays its output is kinda ugly at the moment, but I’m a coder, not a designer :P

Hope it’s useful for someone. :)
I originally posted this to the MySpace Forums, but thought I should also post it here

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Slashdot
  • Technorati
  • del.icio.us
  • StumbleUpon
  • Furl
  • Reddit
  • YahooMyWeb
  • Spurl
  • Netscape
  • NewsVine

11 Responses to “MySpace Friend List Export”

  1. MySpace Friend List Export - Code now available at Daniel15’s Blog Says:

    [...] code for the MySpace Friend List Export script I wrote a while back is now available for download. If you’re a PHP programmer and are [...]

  2. Be a Good Daughter Says:

    Hello this post is amazing.
    I like your blog..
    bye

  3. me Says:

    nice script, if I get a chance to f%ck around with it I’ll send you any updates. I wanted to write a back up and then an auto-friend request script in the event that things needed to be fixed. or, generate a list of myspace UIDs so you could comment all your friends at once…

    thanks!

  4. Idetrorce Says:

    very interesting, but I don’t agree with you
    Idetrorce

  5. jookyone Says:

    Nice name, and great piece of code. Email me if you’d like to discuss methodology and a project I am working on that uses some of this code.

    -Daniel

  6. JoJo Says:

    AWESOME tool — thanks !

  7. method Says:

    Very nice program. But could you add an option that it creates SQL insert statements so we can store it i mysql database too ? Hope you guys help me achieve that task.Thanks

  8. Daniel15 Says:

    I’m glad you like it :)
    I’ll be working on a new version sometime in the future, perhaps I’ll make it have a CSV option. Then you could use that to store the data in a MySQL database. :D

  9. Jeff Says:

    Nice script. I applaud you. The csv option would be pretty cool. Keep the good work up.

  10. David Says:

    Great utility. Thanks for making this available. Is there anyway to include a backup of the profiles saved under the “Favorites”. It would be great if it backed up both.

    Thanks

  11. wulmev Says:

    djliarfqgcptxextvtylixcsfdumva

Leave a Reply