Solved

How to display Tweets on webpage.   Possible jQuery conflict

Posted on 2012-04-06
3
595 Views
Last Modified: 2012-04-09
Geez, I can't believe I have to ask this question ... but I'm stuck.

I want to display a simple list of two or three tweets in the footer of my page.

I tried the basic Twitter app, but it's in a "box" I can't get rid of.

Then I found a nice jQuery solution http://juitter.com/
, but I THINK there is a jQuery conflict problem.  

I've solved jQuery conflicts before and I know you have to switch out $ with jQuery - or something.

QUESTION 1
Any recommendations for JavaScript or jQuery to add a few tweets to website pages (not blog)?  Tweets automatically update and scroll/repeat.


OR to use http://juitter.com/


QUESTION 2
Where can I find a user-friendly jQuery conflict tutorial?
(I've looked through a dozen jQuery conflict search results.  All very confusing.)



Background
We use this version of jQuery:
jquery-1.4.2.min.js
Juitter uses
jquery-1.3.1.min.js

Our site is built on a theme.  

Thanks, April

P.S.  
Couldn't find support forum for jutter
0
Comment
Question by:aprillougheed
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
designatedinitializer earned 500 total points
ID: 37818237
These guys provide you a simple solution:
http://tweet.seaofclouds.com/

Like this:
<html>
<head>
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="tweet/jquery.tweet.js" type="text/javascript"></script>
<script type='text/javascript'>
    jQuery(function($){
        $(".tweet").tweet({
            username: "seaofclouds",
            join_text: "auto",
            avatar_size: 32,
            count: 3,
            auto_join_text_default: "we said,", 
            auto_join_text_ed: "we",
            auto_join_text_ing: "we were",
            auto_join_text_reply: "we replied to",
            auto_join_text_url: "we were checking out",
            loading_text: "loading tweets..."
        });
    });
</script>
</head>
<body>
<div class="tweet"></div>
</body>
</html>

Open in new window


you have to download the .js from GitHub here:
https://github.com/seaofclouds/tweet/
0
 

Author Comment

by:aprillougheed
ID: 37819521
Great I'll install it right now.
0
 

Author Comment

by:aprillougheed
ID: 37825505
Sorry, I thought I closed this question.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now