test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • rikbollen Friend
    #183991

    Hi!

    I’m trying to display a single tweet (ie the latest tweet from my twitter-account) as a blockquote in the user5 position. I found several guides on the internet, all using the twitter API (which I prefer), but I don’t have succes up to now.

    Look for example at http://visualharmonydesign.com/blog/online-marketing/show-your-latest-twitter-post-on-your-website/. That is a fairly simple guide (however, it uses twitter.com/statuses, which should be twitter.com/1/statuses).

    It states that you add
    <script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
    <script src="http://twitter.com/statuses/user_timeline/your_username.json?callback=twitterCallback2&count=1" type="text/javascript"></script>

    right before the </ body> tag.

    When I paste the script lines in default.php (copied that one to /templates/ja_mendozite/page) and add
    <div id="twitter_div"><ul id="twitter_update_list"><li> </li></ul></div>
    to a custom-html module in position user5, nothing happens, only the title of the module is displayed.

    Any-one got a clue?

    I got the code in default.php right: when I look at the page with google chrome, and choose inspect element, and follow the links in the script, I end up dead-right on blogger.js and when i follow the second link I get my latest tweet. Mind you: in chrome, using inspect element, it is not displayed on the site!

    Luna Garden Moderator
    #480003

    Hello Rikbollen,

    I don’t think that code would work at all, it’s kind of old. Did you try this code in default template of Joomla to see if it works ?

    For an easy way, we do have a module support to show your tweets from your account Twitter.

    Here is download link: http://www.joomlart.com/forums/downloads.php?do=file&id=3219

    and the user guide: http://www.joomlart.com/forums/topic/ja-twitter-module-for-joomla-2-5-userguide/

    rikbollen Friend
    #480080

    Luna,

    Thank you for your reply! This looks promissing… Gonna wrestle with it a bit. Setting up looks pretty straight-forward, I’ll probably will have some probs styling it as a blockquote (being a noob!) but when I need help, I surely will look for it here!

    Thank you again!

    Rik

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  rikbollen 11 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum