?
Solved

How to display Tweets on webpage.   Possible jQuery conflict

Posted on 2012-04-06
3
Medium Priority
?
607 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
designatedinitializer earned 2000 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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

762 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