Solved

How to display Tweets on webpage.   Possible jQuery conflict

Posted on 2012-04-06
3
603 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 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

728 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