
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!! 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: ![]() 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: ![]() 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: 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!
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
MySpace, Facebook, Twitter and Social Network Help
(Article 7286)
Tagged: Previous: What is the "+" plus box on some Google search results? Next: How do I Digg a great Web page? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. 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 AMhelp me verify myspace!!! Posted by: lalo at April 24, 2007 6:28 PMHi 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 PMThat 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 AMHi Dave, 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 AMSheree, 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 PMumm im not very good at this HTML stuff so... 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 AMHi 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 PMi 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 AMugh 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 PMalright..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 AMHi 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 AMi 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 PMcan you help me verfiy my emil addres on myspace Posted by: donival at July 22, 2007 8:58 PMI'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 PMHow is it possible to create those buttons, but for Message Me and Block Me? Posted by: steve at August 27, 2007 12:47 PMhow can i add friends Posted by: estefani at September 12, 2007 9:01 PMDave, 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 AMHOW 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 PMhey this add button is ge=reat but can u make the comment button and a massage button too? HELLPPPP Posted by: kelsey at October 13, 2007 3:32 AMhey i want to delet my verify email address Posted by: ryan porras at December 12, 2007 3:17 PMthnx it workss!!! Posted by: lexi at January 11, 2008 3:19 PMcan u help me verfly my myspace email now please. Posted by: mama at January 18, 2008 5:52 PMbe my friend Posted by: tywaun at January 28, 2008 2:32 PMhey do you by any chance know how to get on myspace when it;s blocked?.... Posted by: mm at February 4, 2008 1:39 PMHey Dave, Hey dave, 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 PMPLZ 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 AMi've been trying to make a "Comment me" button for a while using your coding but it keeps MESSING UP and its real irritating.. Umm...how do i make my own comment my pictures buttons? Posted by: Mirinda Hernkind at March 24, 2008 9:43 PMsend 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 AMhi,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 AMi wanted know how you add somebody as a friend?can somebody help me please? Posted by: Genesis Soto at April 21, 2008 5:54 PMthankyou 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 PMadd him he's cool I have a lot to say, but ...
I do have a comment, now that you mention it!
|
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|