Title: Just A Tweet
Author: Aelora
Published: <strong>2011-05-16</strong>
Last modified: 2012-03-24

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/just-a-tweet.svg)

# Just A Tweet

 Autor: [Aelora](https://profiles.wordpress.org/aelora/)

[Pobierz](https://downloads.wordpress.org/plugin/just-a-tweet.0.3.1.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/just-a-tweet/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/just-a-tweet/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/just-a-tweet/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/just-a-tweet/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/just-a-tweet/)

## Opis

Adds a `just_a_tweet` function and short code that allows you to display only
 the
most recent Tweet from a Twitter feed.

This came about because I wanted a way to display my most recent tweet in the
 header
of my site. Looking through dozens of Twitter plugins I couldn’t find one that just
got the most recent tweet without too much extraneous HTML and also cached the request.
This function does both.

For more info, visit [Nutt.net](http://www.nutt.net/tag/just-a-tweet/) or
 my [Twitter feed](http://twitter.com/RyanNutt).

## Instalacja

 1. Upload `just-a-tweet` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the 'Plugins’ menu in WordPress
 3. Place `<?php just_a_tweet('username'); ?>` in your templates

The function `just_a_tweet` takes up to 4 parameters

$twitterUser – Required – The name of the Twitter user you want to request

$cacheAge – Optional – Number of minutes after which the cache is considered stale.
Defaults to 5

$forceRefresh – Optional – If true then the cache is not used, although it is
 still
filled. Defaults to false

$echo – Optional – Whether the function should also echo out the HTML built. Either

way the HTML is returned. Defaults to true

#### Using the shortcode

There is also a shortcode just_a_tweet that you can use inside your posts and pages.

[ just_a_tweet twitteruser=yourtwitter ] will pull the most recent tweet from
 whatever
Twitter account you pass as `yourtwitter`.

## Najczęściej zadawane pytania

None yet

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Just A Tweet” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój
wtyczki.

Zaangażowani

 *   [ Aelora ](https://profiles.wordpress.org/aelora/)
 *   [ Ryan ](https://profiles.wordpress.org/ryannutt/)

[Przetłumacz wtyczkę “Just A Tweet” na swój język.](https://translate.wordpress.org/projects/wp-plugins/just-a-tweet)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/just-a-tweet/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/just-a-tweet/) lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/just-a-tweet/)
przez [RSS](https://plugins.trac.wordpress.org/log/just-a-tweet/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 0.3.1

 * No real change, just updating to switch to a new site

#### 0.3

 * Switched to using a newer Twitter API call
 * Wasn’t working if latest tweet was a retweet. Would cause an error on the first
   
   page view and then a JSON error after it was pulled from cache.

#### 0.2

 * Added just_a_tweet short code so you can use this inside a post or page without
   
   having to enable PHP code.

#### 0.1

 * Initial Release

## Meta

 *  Wersja **0.3.1**
 *  Ostatnia aktualizacja **15 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 2.7 lub nowszej **
 *  Testowano do **3.1.4**
 *  Język
 * [English (US)](https://wordpress.org/plugins/just-a-tweet/)
 * Tagi
 * [tweet](https://pl.wordpress.org/plugins/tags/tweet/)[twitter](https://pl.wordpress.org/plugins/tags/twitter/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/just-a-tweet/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/just-a-tweet/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/just-a-tweet/reviews/)

## Zaangażowani

 *   [ Aelora ](https://profiles.wordpress.org/aelora/)
 *   [ Ryan ](https://profiles.wordpress.org/ryannutt/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/just-a-tweet/)