Free tech support / small logo


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!









Subscribe!
Never miss another Q&A article! Click to subscribe: Add to Google Reader Add to My Yahoo! Subscribe in NewsGator RDF XML
Comments

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?

Posted by: SHEREE at April 14, 2007 9:03 AM

help me verify myspace!!!

Posted by: lalo at April 24, 2007 6:28 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

Posted by: Denise aka The Blog Squad at April 26, 2007 12:51 PM

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?

Posted by: Dave Taylor at April 27, 2007 5:55 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

Posted by: Micky at April 28, 2007 10:41 AM

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

pretty simple lol

but hey, i like cornflakes

Posted by: cammRyan at May 1, 2007 1:44 AM

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!)

Posted by: Dave Taylor at May 7, 2007 8:02 PM

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 =(

Posted by: dom at May 9, 2007 7:18 AM

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

Posted by: Mnm at May 13, 2007 3:53 PM

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?

Posted by: taz at May 20, 2007 11:04 AM

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

Posted by: savon at July 5, 2007 11:18 PM

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

Posted by: Jenna at July 10, 2007 10:23 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

Posted by: Andrea at July 16, 2007 7:37 AM

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?

Posted by: becca at July 18, 2007 11:20 PM

can you help me verfiy my emil addres on myspace

Posted by: donival at July 22, 2007 8:58 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?

Posted by: Matt at July 27, 2007 10:52 PM

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

Posted by: steve at August 27, 2007 12:47 PM

how can i add friends

Posted by: estefani at September 12, 2007 9:01 PM

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

Posted by: Alex at October 2, 2007 7:50 AM

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

Posted by: WENDY at October 9, 2007 10:07 PM

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

Posted by: kelsey at October 13, 2007 3:32 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?

Posted by: Tamara at October 16, 2007 4:09 AM

i want to delet my verify email address

Posted by: ryan porras at December 12, 2007 3:17 PM

thnx it workss!!!

Posted by: lexi at January 11, 2008 3:19 PM

can u help me verfly my myspace email now please.

Posted by: mama at January 18, 2008 5:52 PM

be my friend

Posted by: tywaun at January 28, 2008 2:32 PM

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

Posted by: mm at February 4, 2008 1:39 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

Posted by: pablo at February 13, 2008 2:50 PM

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.

Posted by: Dee at March 11, 2008 8:59 AM

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

Posted by: Vincent Pratcher at March 19, 2008 3:38 PM

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

Posted by: Amber Sambrooks at March 20, 2008 2:25 AM

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?

Posted by: harry thake at March 23, 2008 9:10 PM

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

Posted by: Mirinda Hernkind at March 24, 2008 9:43 PM

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

Posted by: saint iyke at March 25, 2008 5:17 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.

Posted by: steffi at April 12, 2008 5:45 AM

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

Posted by: Genesis Soto at April 21, 2008 5:54 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=]

Posted by: amie at May 5, 2008 11:18 PM

add him he's cool
with nice music =]

Posted by: jayy-tee at May 10, 2008 2:16 PM

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

Posted by: liam at October 19, 2008 2:12 AM

i hope people add me to myspace

Posted by: cheyenne at October 21, 2008 4:35 PM

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

Posted by: Justin Wright at October 25, 2008 12:54 AM

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

Posted by: corinne at November 6, 2008 3:27 PM

please comment me k!!!!=]

Posted by: taylor at November 28, 2008 11:10 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

Posted by: Mark at May 22, 2009 10:33 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.

Posted by: Charles M. at May 28, 2009 11:05 AM

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

Posted by: Carl at August 9, 2009 12:52 PM

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

Posted by: jasmine at January 28, 2010 10:20 PM

thanks. I really appreciate it

Posted by: Tory at February 7, 2010 6:32 AM

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

Posted by: Brownbravo at May 28, 2010 8:15 PM

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.

Posted by: Craig Cartwright at September 1, 2010 9:14 AM

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

Posted by: Arizona4u at October 7, 2011 8:28 AM

I have something to say, now that you mention it, but ...
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 for all your efforts on this Web site by buying you a cup of coffee!

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











Remember personal info?


Please note that I will never send you any unsolicited email. Ever.

While I'm at it, 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.









Recent Entries


Search
I Need Help!
Need Help? Ask Dave Taylor!


© 2002 - 2012 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.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.