Entry

Myspace Access Class - ver 2.4

the class has been updated, please point your browser here : http://elsid.net/myspace-access-class/
Ok well first off i’m thinking about going to changin the whole version system cause seriously this is all alpha - thanx to Brad, fb, and maybe a new guy. donations are more than welcome - to busy to install a donate button - [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

the class has been updated, please point your browser here : http://elsid.net/myspace-access-class/

Ok well first off i’m thinking about going to changin the whole version system cause seriously this is all alpha - thanx to Brad, fb, and maybe a new guy. donations are more than welcome - to busy to install a donate button - but sid@halfgray.com on paypal would bring some joy to my life.

that said heres what you really want : /wp-content/uploads/2007/4/myspacever2apr-25-07.zip

and heres what you need to know

features:

  • blog posting
  • comment posting
  • friendslist navigation
  • myspace navigation
  • music player extraction
  • functions to pull data from user page
  • better error support
  • rewrote and re arranged
  • added response headers to the error loop
  • settings vars for recover from error and displaying errors
  • logs out of myspace at close
  • add some more functions for grabbing form data
  • tokens are automatic (don’t remember if it was last version)
  • add a bunch of other stuff - it’s 4 in the morning

ok if you just replace the old class with this class - your script will break. why? because i split it into two classes… why? felt right at the time.

so what do you need to do - read the nice documentation in the top of the file - oh yeah and if you mod, add to, etc, etc, the script- send me poetics5@yahoo.com (yes, i know spam - so what they flood me anywayz) the code in a .php file.

if your trying to write functions and they fail - email me and i’ll help you.

if you’d like to help in documenting, or just general spell checking (can’t spell for crap) email me, i’ll give you a login to the development area (activeCollab)

ok now for some general disclaimers - first and for most this is not something for spam, it’s primary audience are bloggers and other people that wanta do stuff with their sites.

please don’t start using this for spam. if you use this class at all for commerical use, even as a starter script - we want one thing. send us a link, and know that one day you may be called upon to return the favor (i know i need sleep).

anyways in closing, don’t spam, feel free to ask questions, and i seriously need to stop these coding binges - night all.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

11 Comments

  1. May 9, 2007 at 1:54 pm | Permalink

    Typo at the end of the class, you wrote :

    $this=NULL;

  2. May 21, 2007 at 3:26 pm | Permalink

    wierd. I got this to work once, but then I set it my profile to private to test it and it didn’t work. so I put it back to public, and now itsn’ not working. I’m getting these errors. Any idea?

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/ahurfnay/public_html/myspace.class.ver.2.php on line 142
    0 : 99999999

    Fatal error: Call to undefined

  3. May 21, 2007 at 3:28 pm | Permalink

    here are all the errors.

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/ahurfnay/public_html/myspace.class.ver.2.php on line 142
    0 : 99999999

    Fatal error: Call to undefined function: makeerror() in /home/ahurfnay/public_html/myspace.class.ver.2.php on line 230

  4. May 21, 2007 at 4:41 pm | Permalink

    It sounds like your running php in safe mode. as far as the makerror issue i think i fixed that in the lastest version

  5. May 21, 2007 at 10:28 pm | Permalink

    I couldn’t figure out how to stop getting the errors on line 142 and 230 above, so I just deleted those lines. It’s working fine now. Should I be worried about not having those lines?

  6. May 22, 2007 at 2:37 am | Permalink

    I wouldn’t worry about it, but i would recommend updating when the next release comes out (lots of new functions)

  7. denis
    May 28, 2007 at 11:34 am | Permalink

    Hi! whow to install it plugin? i load all files on plugin directroy on my WORPRESS but i can seen anything in my control panel (in my plugins activate panel). Whow to swith on this plugin? I have 2.2 version of worpress.

  8. May 28, 2007 at 1:25 pm | Permalink

    Hi denis, this is a php class, not a plugin, to use it, you’ll have to have at least some knowledge of php

  9. Triangle
    May 28, 2007 at 6:14 pm | Permalink

    I’m trying to pull all the images off of my profile page. The page that displays all my info, pictures, friends, etc. The code below returns all the images from MYSPACE.COM and also my TOP 8. It’s really wierd. It’s like it goes to myspace.com, gets the images, then get my top eight from somewhere else. I don’t know where. Can you look at the code and see if you can get it to pull the images just from my profile page? thanks, good code by the way.

    function pullrandompictures(){

    $this->newLocation(”http://www.myspace.com/{$this->myId}”);
    preg_match_all(’#]*src\s*=\s*[\'"]?([^\'"\s>]+)[\'"]?[\s>]#i’,$this->page, $images);
    foreach($images[1] as $image)
    {
    echo “”; }}

  10. Triangle
    May 28, 2007 at 6:15 pm | Permalink

    it didn’t display the echo part. it is just echo’ing the img src”…..”

  11. May 29, 2007 at 12:28 am | Permalink

    Triangle - send me you function in a .php file : poetics5@yahoo.com

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*