FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Skip to end of metadata
Go to start of metadata
IMPORTANT: Both Crowdmap "Classic" and Ushahidi users will need to make this change to use Twitter with your map project.

To have your deployment pull tweets based on hashtag/s, you will need to set up your deployment as an application on twitter.

Steps

  1. Sign in on  https://dev.twitter.com/ with your twitter username and password
  2. Once signed in, on the right-hand side, click on your profile picture, you will get a drop-down , select the “My Applications” link.
  3. On the next page, click on “Create a new application”
  4. Fill in the application details
    1. Name – this can be your deployment/site name e.g Uchaguzi
    2. Description – this is your deployment/site description – what your deployment does
    3. Website – this is your deployment url/link i.e http://yourdeployment
    4. Callback url – this one leave it blank.
  5.  After creating the application, you will get some of your authentication details but you are not yet done, on the same page click on the "API Keys" tab. Here you will need to generate your access tokens. To do this click on "create my access token" button. The tokens will take a few minutes to be generated, you can refresh the page after a few minutes to see them.
  6. After all the hoops, click on "Test OAuth" on the top right corner of the page to get all the information for your twitter application. These include CONSUMER KEY,CONSUMER SECRET, ACCESS TOKEN, ACCESS TOKEN SECRET.
  7. Go back to http://yourdeployment/admin/settings/twitter and key in those details. In addition, add the hashtags you want to pull tweets from and hit on “save settings”.  Leave the rest of the magic to happen, your tweets will display on http://yourdeployment/admin/messages/twitter.
  1. I did the config as described but still get access error when testing twitter access.

    any hints?

  2. Hi Xaver,

    Some changes were recently made, to fix this error. If you're running on a self hosted deployment, pull in this commit, and you should be ok.

    https://github.com/ushahidi/Ushahidi_Web/commit/2dcdc8756cae5baff80fa362929626badf59fb05

    Best,

    Angie

  3. Cannot see Twitter Settings self hosted deployment in Admin Settings?

     

    1. Hi Ignas,

      If you're running v2.7, you should find these at admin/settings/twitter

      Angie

  4. Thank you for quick answer,

    updated to 2.7, added the oauth settings, 

    fixed the test bug with the github code, so I get success at the test.

    now with my hashtags, I dont get any messages, any clues?

    1. Check in admin/messages/index/3

      You may need to force run the scheduler, as it runs when the homepage is hit. The scheduler is what pulls in feeds from your different media streams.

      Angela

  5. I visit the homepage multiple times, and check the twitter message section still no luck,

    I am tweeting from a new twitter account

    any other way to debug this?

    1. Try force running the scheduler via admin/manage/scheduler and check again

      1. before I Do all above listed changes .. i set site default location From kenya to India.. mention it.

        i do this .. but no luck baby Angle

  6. working thank you (smile)

     

  7. HI. 

    We have created chilemoviliza2.crowdmap.com, and followed all the steps written supra. 
    Even though, we get an error message after clicking "test settings". We went to the link in github, but cannot manage to use the info there.

    Should we change some settings in the crowdmap dashboard, should we edit source code somewhere?.

    Thanks 

    1. Hi, you cannot access the source code from crowdmap as we host the files for you. You should however still be able to pull in tweets regardless of the error. The fix on GitHub will be pushed to crowdmap soon to do away with the error.

  8. Hi, 

    I am so happy to know ushahidi, which can share the info via twitter.

    Before to install it allow me to ask if the system is support other 3rd party SNS website beside twitter? E.g. Weibo.com in China?

    Great thanks!

  9. Hi,

    I Set all above listed process and see all related comment.. but i cant see any message in  My url  "admin/messages/index/3" .. I also do to force the schedular process but not getting any differences in it...

    Plz help me... I tried to do again and again

    Reply  soon as possible.... Please.. Friends

    1. Hi ekhlas, kindly open an issue for this on our GitHub repo here: https://github.com/ushahidi/Ushahidi_Web/issues/new. You can also post it on our forums here: https://forums.ushahidi.com/. We'll be sure to respond. Thanks!

  10. Is it a way to export the tweets that pulled by Ushahidi? I have set up the twitter on my deployment. Tweets are coming in, a lot. Is it a way that I can download them so I can process them and then re-upload them as .csv reports?