TweetMeme Button

The Retweet button is for website and blog publishers that want to encourage their audience to retweet their content on twitter.

We have made our button really smart, with one simple piece of JavaScript we can give you up to date tweet counts and shorten your title and link for the retweets. Best of all it will work on any web page, anywhere!

The Code

Copy and paste the following code where you want the button to be displayed.

<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

Options

When the URL is different from the current URL

The button will automatically grab the URL of the page it is placed on. However if you want to place the button on more than one page or would like it in your feed, you will need to override the URL.

<script type="text/javascript">
tweetmeme_url = 'http://yoururl.com';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

Just replace http://yoururl.com with the URL of the page you want to retweet. The URL must be the final destination URL, not an alias, such as a link using a shortening service (eg. Bit.ly).

Changing the size of the button – Compact Button

The Compact=
The Compact Button

We also offer a compact version of the TweetMeme button, with the same options as the larger button.

<script type="text/javascript">
tweetmeme_style = 'compact';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>


Changing the @username who is tweeted

By default the retweet button will be in the format of “RT @tweetmeme <title> <link>”. You can, however change the button to retweet your user account. By specifying the ‘tweetmeme_source’ parameter in the JavaScript you can change the format to “RT @yourname <title> <link>”.

<script type="text/javascript">
tweetmeme_source = 'tweetmeme';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

The example above would retweet in the format of “RT @tweetmeme <title> <link>”.

Changing the URL Shortener used

We have also added the ability to use a URL shortener of your choice instead of our default one.  If you would like to do this then you need to include the “tweetmeme_service” parameter as shown below:

<script type="text/javascript">
tweetmeme_service = 'bit.ly';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

Note: tweetmeme_service should be set to the name of the service you want to use.  For some services you also need to include the service API – Please see the example below for this.

<script type="text/javascript">
tweetmeme_service = 'awe.sm';
service_api = '12345678910';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
Advertisements

Code to Create Custom Share Buttons for Facebook, Twitter, LinkedIn and Delicious

Interested in sharing your content on Facebook, Twitter, LinkedIn or delicious? Do multi-option social media sharing tools such as ShareThis seem like overkill?

That was our conclusion after researching the social media sites on which readers are most likely to share content from our blog focused on solutions to a wide range of business challenges, What Works for Business. We decided that Facebook, LinkedIn, delicious, and Twitter were the sites on which our target business audience is most likely to share business-related content. Rather than using the ShareThis widget which provides many more options (many confusing options for most of our readers), we decided to create custom share buttons.

To add custom share buttons automatically to each post in a WordPress blog, add the following code to single.php, the file which renders the individual post (note that you must be using WordPress.org, the self-hosted version of WordPress, to be able to customize the php files). See an example of how this looks.

Facebook Share Button Code

Here is the Facebook share code, which can also be found at http://www.facebook.com/share_partners.php/.

<script>function fbs_click() {u=location.href;t=document.title;window.open(’http://www.facebook.com/sharer.php?u=’+encodeURIComponent(u)+’&t=’+encodeURIComponent(t),’sharer’,’toolbar=0,status=0,width=626,height=436′);return false;}</script><a href=”http://www.facebook.com/share.php?u=<url>” onclick=”return fbs_click()” target=”_blank”><img src=”ADD_IMAGE_URL_HERE” alt=”Share on Facebook” /></a>

Twitter Share Button Code

Here is the Twitter share code, which can also be found at http://www.jhuskisson.com/code-tidbits/share-on-twitter-link.

<a href=”http://twitter.com/home?status=Currentlyreading <?php the_permalink(); ?>” title=”Click to share this post on Twitter””><img src=”ADD_IMAGE_URL_HERE” alt=”Share on Twitter”></a>

LinkedIn Share Button Code

Here is the LinkedIn share code, which can also be found at http://www.linkedin.com/static?key=developers_widget_shareonlinkedin.

<a href=”http://www.linkedin.com/shareArticle?mini=true&url=<?phpthe_permalink(); ?>&title=<?php the_title(); ?>&source=ADD_YOUR_BLOG_URL_HERE”><img src=”ADD_IMAGE_URL_HERE”></a>

delicious Share Button Code

Here is the delicious share code, which can also be found at http://delicious.com/help/savebuttons.

<a href=”http://delicious.com/save” onclick=”window.open(’http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=’+encodeURIComponent(’<?php the_permalink() ?>’)+’&amp;title=’+encodeURIComponent(’<?php the_title() ?>’),’delicious’, ‘toolbar=no,width=550,height=550′); return false;”><img src=”ADD_IMAGE_URL_HERE” height=”20″ width=”20″ alt=”Delicious” /></a>

Stylish Text Generator for Orkut, MySpace, FaceBook

Stylish Text Generator you can use to create an alternative text like pattern to make your name look little different. Use it on My Space, Facebook, Orkut or any other social networking site.

Use Social Media to Promote Your Resource

If you think Twitter, Facebook, and other online social media communities are only for teens, you’re missing out on valuable and free marketing platforms for your brand (book, business or product).

Further, if you’re not on social media, you’re risking losing your own potential clients/customers to those smart business people who are utilizing social media.

Which social media platforms you focus on depends a great deal on what your brand is. Here are seven excellent reasons why you must use social media no matter what you are promoting:

Reason 1: It’s the Most Cost-Effective Online Advertising.

The current most popular social media platforms being used for business are free: Twitter.com, Facebook.com and LinkedIn.com. (LinkedIn does have an upgrade that costs, but it’s not necessary to get this upgrade.) And this is “relationship” marketing to targeted markets. “Free” is definitely more cost-effective than spending money on online advertising techniques such as Pay Per Click or banner ads.

Reason 2: You Can Have Global Reach With Social Media.

The world is now a global marketplace. Why not reach this global market? Many of the most popular social media platforms have this global reach, and you can see this clearly illustrated on Twitter. At any time of day or night you can see real-time “tweets” from people in Japan, England, the U.S., India and many other countries.

For example, if you have a book that might appeal to anyone in the world who reads in English, why limit yourself to just promoting in the U.S.? Thanks to Amazon people outside the U.S. can buy your book even if it is only available in U.S. stores.

Reason 3: You Can Attract Targeted Groups of People as Potential Clients/Customers for Your Brand.

Social media enables you to join groups of people with the same interests and goals. On LinkedIn and Facebook you can join groups as varied as Children’s Book Writers to eMarketing. If you choose groups to join based on your brand, you’ll be putting yourself in front of the exact groups of people you want to reach as potential clients/customers. This can pay off in increased sales for you.

Reason 4: You Can Form Your Own Community by Using the Community Aspect of Social Media.

Once you are active on social media platforms and have people who are your followers (Twitter), your friends (Facebook) and/or your connections (LinkedIn), you can start your own groups of highly targeted interests. You can create a niche market in your brand, book or business and share your knowledge with others who join your community.

These people can become your loyal followers, friends and connections – and they can help spread your marketing message to their followers, friends and connections.

Reason 5: You Can Use Social Media to Establish Your Expertise.

People like to do business with people they know, like and trust. By sharing your knowledge for free online with the people in the social media groups you belong to, you can establish yourself as an expert. This can pay off in increasing potential clients/customers’ trust in you.

And you can also receive invitations for blog “interviews” or BlogTalkRadio show interviews or podcasts. And these interviews lead to more free exposure for your brand and more free promotion for your expertise.

Reason 6: You Can Use Social Media to Find Cross-Promotional Partners.

Amazingly in the world of social media, people who would be considered competitors in the off-line world are teaming up to provide products and services to their combined clients/customers.

And these clients/customers are very responsive to these cross-promotions (often called joint ventures) – especially when introduced to a second expert by a first expert they already know, like and trust.

You and your cross-promotion partner can each get access to the other person’s “list” (the names of interested clients/customers collected at a website) and thus you’vegreatly expanded your potential client/customer pool.

Reason 7: With a Few Keystrokes You Can Announce New Updates of Your Activities.

Your updates on Twitter, Facebook or LinkedIn take seconds – and you’ve announced to your followers, friends and connections what you’re doing or what you’re offering or what you’re speaking on. And there are even online applications that allow you to update your status across several of your social media accounts at one time. So it is as easy as 1-2-3 to keep in front of your potential clients/customers.

In conclusion, once you become active yourself on social media platforms, you’ll find many more reasons to promote your brand, book or business on social media in order to attract targeted potential clients/customers. And you’ll look back at your pre-social media days and wonder how you ever did marketing without using online social media.

Twitter Buttons