ee-garage.com

Requirements

Technical requirements include:

Installation

  1. Download the latest version of NSM Twitter.
  2. Extract the .zip file to your desktop
  3. Copy system/expressionengine/third_party/nsm_twitter to system/expressionengine/third_party
  4. Copy themes/third_party/nsm_twitter to themes/third_party (you may need to create the third_party folder)
  5. Install Morphine CP theme addon

Create an encryption key

All "Application consumer secret" and "Application Access Token Secret" authorisation settings are encrypted in the DB. Encryption requires and encryption key.

In the control panel, go to Admin > System Administration > Config File Editor. Scroll down to $config[‘encryption_key’] and enter a strong encryption key. Recommended: Use an online password generator to generate a strong key.

For more information on CodeIgniter’s encryption key: "Setting your Key".

Activation

  1. Log into your control panel
  2. Browse to Addons → Extensions
  3. Enable all the NSM Twitter components
  4. Configure the extension settings

Configuration

Extension settings

Extension access

Enable NSM Twitter for this site?
Globally shows / hides the "Post to Twitter" forms in the Control Panel
Which groups are allowed to tweet?
Limit posting to specific member groups

Channel preferences

Each channel can be individually configured allow access with default Tweet content. The following options are shown for each channel:

Display Tweet box for channel?
"Post to Twitter" will be displayed on the "View Entry" page when an entry is saved.
Default Tweet template
The "Post to Twitter" form will be pre-populated with this default Tweet content. Entry specific variables will be replaced before the form is rendered resulting in an accurate character count.
Entry specific tags for default tweet templates

The following tags will be replaced in the default Tweet template with entry specific values:

  • {channel_id}
  • {author_id}
  • {site_id}
  • {ip_address}
  • {title}
  • {url_title}
  • {entry_date}
  • {edit_date}
  • {versioning_enabled}
  • {year}
  • {month}
  • {day}
  • {expiration_date}
  • {comment_expiration_date}
  • {sticky}
  • {status}
  • {allow_comments}
  • {allow_trackbacks}
  • {forum_topic_id}
  • {dst_enabled}

Example:

New Post: {title} http://leevigraham.com/blog/post/{entry_id}/{url_title}

Twitter authentication

To authenticate NSM Twitter you'll need to add the NSM Twitter app to your Twitter account and get the Consumer Key, Consumer Secret, Access Token, and Access Token Secret values.

Create a new Twitter Application
  1. Go to http://developer.twitter.com
  2. Log-in and click on 'Your Apps'
  3. Click the 'Register a new app' button.
  4. Fill out the form
    1. Application Name: The name that will appear in the 'via' in your tweets
    2. Application Website: URL for the 'via' link in your tweets
    3. Organization: Your company
    4. Application Type: Set this to browser
    5. Callback URL: Leave blank unless you're using this app with other addons.
    6. Default Access Type: Set to 'Read & Write'
  5. Enter CAPTCHA and hit 'Register Application'
Getting your Consumer Key and Consumer Secret Settings
  1. Log into http://developer.twitter.com
  2. Click on 'Your apps'
  3. Select the app you need the Consumer Key and Consumer Secret for
  4. Copy the Consumer Key and Consumer Secret into the NSM Twitter settings
Getting your Access Token and Access Token Secret Settings
  1. Log into http://developer.twitter.com
  2. Click on 'Your apps'
  3. Select the app you need the Access Token and Access Token Secret settings for.
  4. Click the 'My Access Token' button.
  5. Copy the Access Token (oauth_token) and Access Token Secret (oauth_token_secret) to the NSM Twitter Settings

Posting preferences

NSM Twitter will automatically shorten URLs in your tweets. The URL shortening service is customisable.

Choose a URL shortening service for long URLs
Choose from TinyURL.com, QLink.net, is.gd or bit.ly. If you require an additional service contact us.
Bitly login / username
If you're using bit.ly enter your API username
Bitly API key
If you're using bit.ly enter your API key
Releases RSS Feed © Copyright 2017 | Policies All prices shown are in Australian Dollars ($AUD) Newism