How to Post our content on myspace in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hem.bhatt1787
Forum Newbie
Posts: 1
Joined: Fri Aug 12, 2011 12:13 am

How to Post our content on myspace in php

Post by hem.bhatt1787 »

Hi all guys !
I trying to post comments on myspace in php, can anyone suggest a method to post comments on myspace using php.
very urgent

Thanks
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: How to Post our content on myspace in php

Post by AbraCadaver »

What is this myspace you speak of?
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: How to Post our content on myspace in php

Post by twinedev »

Well there are several API's for myspace, http://developer.myspace.com/wordpress/?page_id=24 however quick look don't see ones designed to actually post comments (there is one to post media into comments though)

How bad do you want it? if bad enough, using cURL (http://php.net/curl ) you most likely could do it. Sorry, it is out of scope of giving a full example here, as you would need to program it to log you in, save the necessary cookies and use them on the requests to post. Of course, this method depends on them not changing the site, each time they do, you have to verify things still work the same.

-Greg
Post Reply