Title: Just A Tweet
Author: Aelora
Published: <strong>16 de Maio, 2011</strong>
Last modified: 24 de Marzo, 2012

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

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

# Just A Tweet

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

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

 * [Detalles](https://gl.wordpress.org/plugins/just-a-tweet/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/just-a-tweet/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/just-a-tweet/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/just-a-tweet/#developers)

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

## Descrición

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).

## Instalación

 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`.

## Preguntas frecuentes

None yet

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Just A Tweet” é un software de código aberto. As seguintes persoas colaboraron 
con este plugin.

Colaboradores

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

[Traduce “Just A Tweet” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/just-a-tweet)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/just-a-tweet/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/just-a-tweet/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/just-a-tweet/)
por [RSS](https://plugins.trac.wordpress.org/log/just-a-tweet/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 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

 *  Versión **0.3.1**
 *  Última actualización **Fai 14 anos**
 *  Instalacións activas **10+**
 *  Versión de WordPress ** 2.7 ou superior **
 *  Probado ata **3.1.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/just-a-tweet/)
 * Etiquetas
 * [tweet](https://gl.wordpress.org/plugins/tags/tweet/)[twitter](https://gl.wordpress.org/plugins/tags/twitter/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/just-a-tweet/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

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

[Ver todas as valoracións](https://wordpress.org/support/plugin/just-a-tweet/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/just-a-tweet/)