Avatar of Leevi Graham

LG Twitter Update your Twitter.com status when publishing new ExpressionEngine entries.

Download LG Twitter v1.0.2 Table of contents

Features

LG Twitter allows you to post to twitter from the ExpressionEngine publish form. Add as many "Twitter Fields" to your ExpressionEngine site as you want in one or more weblogs.

Requirements

LG Twitter is an ExpressionEngine plugin tested ExpressionEngine 1.6.0 or greater. Your PHP installation must also have CURL support.

Installation

The LG Twitter extension contains an extension folder and a language file. To install the extension follow the instructions below:

  1. Download the latest version of the extension
  2. Extract the .zip file to your desktop
  3. Copy the extensions/ext.lg_twitter.php directory to your /system/extensions directory
  4. Copy the language/english/lang.lg_twitter.php file to your /system/languages/english directory

Activation

This extension has no special activation requirements. To activate:

  1. Log in to your sites administration
  2. Open the Extensions Manager
  3. Enable Extensions if not already enabled
  4. Enable LG Twitter

Configuration

The LG Twitter extension includes a couple of basic settings.

Twitter Username [required]

Your Twitter.com account username

Twitter Password [required]
****************

Your Twitter.com account password

Custom Field IDs [required]
12|14|16

A pipe delimited list of custom field ids. When a new ExpressionEngine entry is created LG Twitter will check to see if any of the custom fields have a ID listed in the custom_field_ids string. The content of this field is used to update your Twitter status.

Check for updates [required]
Yes|No

LG Twitter can check leevigraham.com automatically for updates to the extension. A short message will be displayed on your ExpressionEngine control panel homepage if an update is available.

Cache Refresh [required]
300

The number of minutes between extensions update checks. This number should be quite large in order to speed up delays when loading the homepage.

Usage

LG Twitter is simple to integrate into your new or existing ExpressionEngine installation.

  1. Create a new text custom field in any of your custom field groups and limit it to 140 characters.
  2. Take note of the field ID
  3. Open the extension settings
  4. Add the custom field id to the custom field ids configuration setting. Separate with a pipe if more than one custom field.

Add as many "Twitter Fields" to your ExpressionEngine site as you want in one or more weblogs.

Change Log

1.0.0

  • Initial Release

1.0.1

  • Fixed bug when disabling extension
  • Added my application key for Twitter.com

1.0.2

  • Updated application key

License

LG Twitter is a commercial product and therefore its usage is subject to the commercial license agreement.