ConfiguringTwitterServices (Admin)

What is Twitter Services?

Twitter Services provides Twitter support for Elgg plugins. Enabling Twitter Services is a two step process: The admin user must sign up for a Twitter API account, and then the user must authorize Twitter for the Elgg network and check the plugins that are allowed to tweet. These instructions are for the admin user. View this page for user information.

Registering for a Twitter API account

You must have a Twitter account. While logged in, Register a new app at the Twitter Developer Site. Pick descriptive names and text so users know that this application is your Elgg site. A few of the fields need special values:

  • Application Type: Browser
  • Callback URL: http://yourelggsite.com/pg/twitterservice/authorize (Replace with your actual URL)
  • Default Access type: Read & Write (This is VERY important! If you set this wrong, users will have to revoke access, and then reauthorize Twitter.)

When you are registered, click "Register Application." You'll need to enter the Consumer Secret and Consumer Key from the next page into Elgg.

Configuring Elgg

Log into your Elgg network as an Admin and go to the Administration Section. Click the "Tool Administration link in the side menu and scroll down until you find the twittersercives plugin. If it's not enabled, enable it. Click the [Settings] link to open the configuration. Copy and paste the Consumer Secret and Consumer Keys that you just created on Twitter's site into the appropriate fields and hit save.

Users will now be able to authorize their Twitter accounts with your Elgg network! For instructions on how to do this, point your users to this page.

Search docs