Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


How do I create an Add me as a MySpace friend button?

I was reading a blogger blog today and saw that they had a really neat button labeled "Add me as a MySpace friend!" and when I clicked on it, it took me directly to the 'confirm you really want to be friends' page, rather than the more common, but less useful, link to my profile. I'd love to have more MySpace friends, so if you can tell me how to make this sort of button, it'd be most appreciated!!


Dave's Answer:

Hmmm.... you're right, I've seen these sort of buttons too, I just never really thought about how they'd be accomplishing this bit of MySpace trickery. Fortunately, it's not hard to figure out...

Go to your own MySpace profile by logging in, then clicking on "View My Profile" just below your picture:

MySpace: Home photo menu options

Now that you're viewing your profile as others see it, notice that right under your picture in this view is a link to "Add to Friends". Here's an example of this set of choices from my friend Cathie's profile:

MySpace: Contacting Someone

Here's the magic: right-click on that link on your profile and choose "Copy Link" from the pop-up menu. Now, in your copy and paste buffer you have something like:

http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=65108791&
MyToken=949c8e1d-0fa6-4742-89e4-0c731ab3bb9e

(I've broken this into two lines for formatting purposes only)

Turns out that if you simply eliminate the last name=value field, the "MyToken" value, you have the URL needed for others to add you as a friend. Try it, click on this:

http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=65108791

Now, let's do a bit of a bonus step here! If you want to make this look like a standard HTML form button, you can unwrap the URL and create a succinct form:

<form method="get" action="http://collect.myspace.com/index.cfm">
  <input type="hidden" name="fuseaction" value="invite.addfriend_verify" />
  <input type="hidden" name="friendID" value="65108791" />
  <input type="submit" value="Add Me as a Friend!" />
</form>

Here's how it'd look:

Cool, eh? Of course you can also just create a suitable graphic and use that as a button too, but that's just a simple matter of graphic work! :-)

Anyway, I hope that helps you create a similar link of your own. And while you're experimenting with the steps on this page, don't hesitate to actually add me as a MySpace friend too just as a test!


More Useful Twitter, LinkedIn and Social Network Help Articles:
✔   How do I search for a job on LinkedIn?
This may be a bit obvious, but I'm looking for work and am unclear how I can use LinkedIn to find positions other...
✔   Add a header graphic to my Twitter profile?
I heard from a colleague that Twitter's added profile pictures a la Facebook's timeline photo on the top. Nice, but how do I...
✔   Export LinkedIn Profile as a PDF Resume?
I've spent the last year or two updating and adding to my LinkedIn profile and it has a ton of information about me....
✔   How do I block an iPad app from accessing Twitter?
My son installed an app on my iPad and now it's posting updates on my Twitter account when he plays. What the deuce?...
✔   Repost a Facebook photo on Instagram?
I post a lot of photos on Facebook and sometimes want to share them with my Instagram followers. You can automatically mirror an...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  









Reader Comments To Date: 51

SHEREE said, on April 14, 2007 9:03 AM:

I tried it but HOW do you get the code into a message as an HTML button. When I do it it just puts the HTML code as text in the message?

lalo said, on April 24, 2007 6:28 PM:

help me verify myspace!!!

Denise aka The Blog Squad said, on April 26, 2007 12:51 PM:

Hi Dave, I've been playing a lot with MySpace lately and blogged about your button, but when I tried adding it to my TypePad blog, in the body of the post (in the HTML field, not a text) the form somehow gets screwed up and ends up saying "submit query". Maybe there's too much conflicting HTML in a TypePad post?

Thanks for your consistently great tips!

Denise

Dave Taylor said, on April 27, 2007 5:55 AM:

That could happen if TypePad automatically puts "<br>" after each individual line, which messes up forms. Try making the entire form sequence one long line instead, Denise, and perhaps that'll do the trick?

Micky said, on April 28, 2007 10:41 AM:

Hi Dave,
Someone appeared on 'my friends' on myspace, I am sure that I didn't confirm this person as a friend.Is this possible?
Regards,
Micky

cammRyan said, on May 1, 2007 1:44 AM:

i have an icon i designed with transparancy on my myspace if u want

pretty simple lol

but hey, i like cornflakes

Dave Taylor said, on May 7, 2007 8:02 PM:

Sheree, sorry I didn't see your question earlier! The text you specify in the "value" attribute of the submit tag is limited to just plain text, just as you can't have HTML formatting or CSS in the TITLE tag of a page either (though some people sure try!)

dom said, on May 9, 2007 7:18 AM:

umm im not very good at this HTML stuff so...
i was wondering what a 'copy and paste buffer' is??

i right click on the link and copy, but i dont know where to paste it =(

Mnm said, on May 13, 2007 3:53 PM:

Hi Dave tried the add me to friends button thing...the button comes up in my myspace blogs when i paste it there BUT when people click on it they say they get a message saying invalid ID...

oh just incase.. I did change my id number for the one in the example above lol

taz said, on May 20, 2007 11:04 AM:

i just tried that and it's not coming up with the button.. just comes up with the code

http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=97289596

is there something wrong?

savon said, on July 5, 2007 11:18 PM:

ugh i custom my page...but man i can't seem to figure this out...everytime i click on "view mor pic" it says that my friend id is invalid or either cancelled??" i dont know what else to do...do you know why it sayin this...and what can i do

Jenna said, on July 10, 2007 10:23 AM:

alright..you know that add me button you explained?how do you do that..but for messages?

Andrea said, on July 16, 2007 7:37 AM:

Hi Dave,

I just got going with myspace and your site is VERY helpful. Somehow I changed something in my code and the "add me" button is now in the top left corner and not below my writings anymore. Please help!

Thanks,

Andrea

becca said, on July 18, 2007 11:20 PM:

i understand how to make the box, but is there a way i can create my own colors and stuff or size and what it says?

donival said, on July 22, 2007 8:58 PM:

can you help me verfiy my emil addres on myspace

Matt said, on July 27, 2007 10:52 PM:

I've tried every conceivable combination of the above code and it seems to send me to some sort of "send an invite to your friend via email" thing. Obviously the one on this page still works, and I have one that is actually on my myspace page that works...however I can't seem to get one that can be send via messages and/or bulletins. Any ideas?

steve said, on August 27, 2007 12:47 PM:

How is it possible to create those buttons, but for Message Me and Block Me?

estefani said, on September 12, 2007 9:01 PM:

how can i add friends

Alex said, on October 2, 2007 7:50 AM:

Dave, it looks good on a htm page..but it is not working when placing the code in a users message box...???

WENDY said, on October 9, 2007 10:07 PM:

HOW DO I MAKE MY OWN ADD SIGN WITH A FRIEND PICTURE AND A MY SPACE CODE?

kelsey said, on October 13, 2007 3:32 AM:

hey this add button is ge=reat but can u make the comment button and a massage button too?
i really want some.
and how do i put say my own picture in the button?
maybe somthing that says COMMENT??

HELLPPPP

Tamara said, on October 16, 2007 4:09 AM:

hey
i was wondering
how you get those links on myspace
were it has something like a friends name and when you click it it leads straight to their myspace without typing their URL or clicking a picture of them in a top friends?

ryan porras said, on December 12, 2007 3:17 PM:

i want to delet my verify email address

lexi said, on January 11, 2008 3:19 PM:

thnx it workss!!!

mama said, on January 18, 2008 5:52 PM:

can u help me verfly my myspace email now please.

tywaun said, on January 28, 2008 2:32 PM:

be my friend

mm said, on February 4, 2008 1:39 PM:

hey do you by any chance know how to get on myspace when it;s blocked?....

pablo said, on February 13, 2008 2:50 PM:

Hey Dave,
I did what you said but when i right clicked on the link i didnt see a "copy link" thing. All i saw was "copy" and "copy shortcut". Is "copy shortcut" the same thing?
Tjanks,
Pablo

Dee said, on March 11, 2008 8:59 AM:

Hey dave,
do you know the html for making a view pics, and view all friends button? can you please help me out? i been stuck on this forever now haha.

Vincent Pratcher said, on March 19, 2008 3:38 PM:

Hey, I was wondering how can i make my own picture as a add me button on myspace.

Amber Sambrooks said, on March 20, 2008 2:25 AM:

PLZ HELP

i have my comments HIDDEN and i cant get any body to comment me how do i get a commment icon

PLZ HELPP

harry thake said, on March 23, 2008 9:10 PM:

i've been trying to make a "Comment me" button for a while using your coding but it keeps MESSING UP and its real irritating..
could you please help?

Mirinda Hernkind said, on March 24, 2008 9:43 PM:

Umm...how do i make my own comment my pictures buttons?

saint iyke said, on March 25, 2008 5:17 AM:

send me amail and let me knew how you can connect me to a friend hat can allways make me happy

steffi said, on April 12, 2008 5:45 AM:

hi,could u pls mail me and tell me how do i place a add me as a friend button or link in the about me section of my profile page?i want to place it in orkut.so pls do reply i need it.

Genesis Soto said, on April 21, 2008 5:54 PM:

i wanted know how you add somebody as a friend?can somebody help me please?

amie said, on May 5, 2008 11:18 PM:

thankyou this website hepled me alot but i think that there should be less writing and cut the sentenecs down beacsue the pageis a but long.

thank you=]

jayy-tee said, on May 10, 2008 2:16 PM:

add him he's cool
with nice music =]

liam said, on October 19, 2008 2:12 AM:

hey
can you tell me how to make one of those buttons as a "comment me" link that sends em to the post comment page..
thanks soo much

cheyenne said, on October 21, 2008 4:35 PM:

i hope people add me to myspace

Justin Wright said, on October 25, 2008 12:54 AM:

Thanks for the info. I actually just created some buttons so if anyone is interested check out my blog.

corinne said, on November 6, 2008 3:27 PM:

hey dave i was wondering how do u put a graffic on the add me button

taylor said, on November 28, 2008 11:10 AM:

please comment me k!!!!=]

Mark said, on May 22, 2009 10:33 AM:

Hi Dave, that's a nice writeup, however I don't think that will work in the MS 2.0? Would you be so kind and post the CSS code that does the same thing.
Much appreciated, thanks in advance
Mark

Charles M. said, on May 28, 2009 11:05 AM:

How do you get the display at the top of the myspace with the "ADD ME" and so forth? Like most of those bands do. I have an example that I can show you, minus the girlie extras. You can find it at: http://www.myspace.com/tiika.

Carl said, on August 9, 2009 12:52 PM:

Is there a WordPress plugin that can do all of this for us?

jasmine said, on January 28, 2010 10:20 PM:

ummh; how d0 i make a bottom that qoes 2 your photos on myspace .

Tory said, on February 7, 2010 6:32 AM:

thanks. I really appreciate it

Brownbravo said, on May 28, 2010 8:15 PM:

Good job!!!!this is really helpful,I really appreciate.Thanks a lot.

Craig Cartwright said, on September 1, 2010 9:14 AM:

Thats useful! They have the facebook and twitter shortcut for it. About time myspace sorted one too! Though it is used a lot less these days.

Arizona4u said, on October 7, 2011 8:28 AM:

Plz who we teach me hw to add my pic to google image

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.