Finding and setting up your Twitter API keys in Joomla for the Social GK5 module

Last Updated:
Category:
For Joomla! 2.5 Extensions

Retirement of the deprecated Twitter API v1.0 is planned for May 7, 2013, which means that all Twitter features from Social GK5 v.1.0 will stop working on this day. One of the major features of this new API are authenticated requests to search.twitter.com. For this to work, the module configuration requires the setting of public and private keys generated on the twitter.com site in order to authorize your queries.

To generate four keys required in module configuration please follow this steps:

  1. Visit Twitter Developers site at https://dev.twitter.com.
  2. Sign in using your twitter username (not email address) and password.
  3. After login select “My applications” from user menu (1)

    Twitter My applications

  4. Create a new application using the “Create a new application” button (2).

    Create an aplication

  5. In the Create Application details page, please complete these required fields:
    1. Name (3) – the name of your application visible in applications list
    2. Description (4) – short description about the application, usually visible in user-facing authorization screens, but in module will not be visible anywhere.
    3. Website (5) – URL to your site where application will be used. This field is necessary but you can use some placeholder. By default, this fully-qualified URL is used in the source attribution for tweets created by your application, but the module only presents tweets, so it will not be visible.
    4. Callback URL – not necessary – please leave it blank.

  6. After creation you should be redirected to a details page similar to the image below where 2 of 4 necessary keys are visible.

    OAuth settings

  7. The last step is to generate a “User access token” which can be done by clicking on “Create my access token” (6) and the bottom of this details page. Please note (!) that keys are not visible immediately, you will probably need to refresh this page several times.
  8. Now all the necessary details should be visible as in the following image:

    User access token

  9. Now all the necessary details should be visible as in the following image:

    twitter configuration

    1. Consumer key – Consumer key (1)
    2. Consumer secret – Consumer secret (2)
    3. User token – Access token (3)
    4. User secret – Access token secret (4)

Please remember to enable cache in Social GK5 modules after configuring the module. Due to changes in the Twitter v.1.1 API queries are rate-limited.

Finding and setting up your Twitter API keys in Joomla for the Social GK5 module 4.005 (80.00%) 4 votes

This article was first published

Villa Belluci - View our NEW theme
×

Tutorials & tips delivered regularly

Expand your purchase with regular tutorials and tips to making your site better, direct to your email.