Twitter Feeds

Configuring a Twitter Feed for an application allows you to set Pushwoosh to send push notifications to your app subscribers based on the following Twitter updates:

  • Hashtags;
  • Tweets & replies mentioning a user;
  • User’s tweets;
  • Tweets that contain multiple hashtags.

Pushwoosh pulls the latest tweet that matches the chosen criterion every 60 minutes and sends it as a push notification to all subscribers of your app.

When a users opens such push, you can set it to perform one of the following:

  • Just launch your application;
  • Open the tweet in the default browser of the device (using the https:// scheme);
  • Open the tweet in the Twitter app, if it’s installed on the device (using the twitter:// scheme).

Configuration

  1. Go to Twitter Application Management website, and click “Create New App”.
  1. Fill in all required fields, and click “Create your Twitter Application” in the bottom of the page.
  1. Go to Keys and Access Tokens section, and click the “Create my access token” button in the very bottom of the page.
  1. You will need to specify the following keys in Pushwoosh app’s Twitter API settings:

    1. Consumer Key (API Key)
    2. Consumer Secret (API Secret)
    3. Access Token
    4. Access Token Secret
  1. Paste Twitter API keys above to the Twitter API settings of your application in Pushwoosh, and save credentials.
  1. Click Add Twitter Feed, and specify the Search Type and hashtags or Twitter usernames you’d like Pushwoosh to look for in Twitter.

Usage

Once you configured your Twitter feed, you can use one of the following search types:

  • # – tweets that contain a hashtag you specify;
  • @ – tweets that contain tweets and replies with the Twitter username you specify;
  • from: – tweets from a specified Twitter username;
  • Custom: – here you can specify multiple hashtags and usernames, and Pushwoosh will fire out those tweets that have one of these in it.

That’s it!

Twitter Feeds