{"__v":3,"_id":"55a64277aaf9cf1900114fc2","category":{"__v":26,"_id":"55a4ff5b2e70c0250038050f","pages":["55a4ff7d750a9a23005332af","55a4ff8b750a9a23005332b1","55a4ff9b750a9a23005332b3","55a60bfcaaf9cf1900114efb","55a6184880c8a30d00b32526","55a61ba780c8a30d00b32532","55a61c97aaf9cf1900114f40","55a61ea9aaf9cf1900114f48","55a6206580c8a30d00b32544","55a64277aaf9cf1900114fc2","55a694d1aaf9cf1900115102","55a6a23eaaf9cf19001151e2","55a6a9b389c9da1900e2a41d","55a6aba45f88a70d0065b255","55a90687c8bd450d000dd157","55af84f3aa902f1700300daa","55afa3e3902fd51700f5f858","55b0cc5cb3171b3700b153fa","56015bdc3aa0520d00da0ced","5603fe3490ee490d004404c2","5633dd18d28a340d004004f5","56448c697a8cb50d00a3ea3f","56d7a2ec5208281500a2506c","56d859b8b159f10b00304577","56d9822add90610b002708a1","56ef44c6e8d6fa17006f244f"],"project":"5540ce1b31827a0d007ab1cc","version":"5540ce1c31827a0d007ab1cf","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-14T12:23:55.603Z","from_sync":false,"order":2,"slug":"features","title":"Features"},"parentDoc":null,"project":"5540ce1b31827a0d007ab1cc","user":"55a5003a750a9a23005332b6","version":{"__v":31,"_id":"5540ce1c31827a0d007ab1cf","project":"5540ce1b31827a0d007ab1cc","createdAt":"2015-04-29T12:27:08.390Z","releaseDate":"2015-04-29T12:27:08.390Z","categories":["5540ce1c31827a0d007ab1d0","5540d91bbb9e762d00f594ad","5540e5f131827a0d007ab212","5540e5febb9e762d00f594d3","5540e61331827a0d007ab213","5540e6195cf9682100d61afa","5540e62631827a0d007ab214","5540e63031827a0d007ab215","5540e63531827a0d007ab216","5540e63e5cf9682100d61afc","5540e6445cf9682100d61afd","5540e64a5cf9682100d61afe","55a4ff5b2e70c0250038050f","55acb28318eefd0d0071d504","55ae1abe8576b92300291c80","55ae453ef302af23000ac109","55af586d555b900d0036d296","55af91dac8a85321007a53c3","55b9fee204775a2f00628071","55b9ff0e04775a2f00628072","55b9ff4604775a2f00628073","55b9ff5fd72d1e1900276a38","55b9ff7f04775a2f00628074","55b9ff90eb08801900f833e5","55b9ffa5d72d1e1900276a39","55b9ffca04775a2f00628075","55b9fffdd72d1e1900276a3a","56bc2f033ee9e70d008b46af","56c2f6efbbf9ec2d00e0fe4f","57595bbb18760817001e8bbe","57d8d9793916800e003dde53"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-15T11:22:31.035Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":19,"body":"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:\n\n  * Hashtags;\n  * Tweets & replies mentioning a user;\n  * User’s tweets;\n  * Tweets that contain multiple hashtags.\n\nPushwoosh 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.\n\nWhen a users opens such push, you can set it to perform one of the following:\n\n  * Just launch your application;\n  * Open the tweet in the default browser of the device (using the `https://` scheme);\n  * Open the tweet in the Twitter app, if it’s installed on the device (using the `twitter://` scheme). \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Configuration\"\n}\n[/block]\n1. Go to [Twitter Application Management](https://apps.twitter.com/) website, and click “Create New App”.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/K6siA4e6RDaFNAEpdTQF_Screen_Shot_2014-10-29_at_18_58_12.png\",\n        \"Screen_Shot_2014-10-29_at_18_58_12.png\",\n        \"1196\",\n        \"368\",\n        \"#0a8abf\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n2. Fill in all required fields, and click “Create your Twitter Application” in the bottom of the page.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3vw2MQKPQRK4Wtws4076_Screen_Shot_2014-10-29_at_19_00_02.png\",\n        \"Screen_Shot_2014-10-29_at_19_00_02.png\",\n        \"1197\",\n        \"881\",\n        \"#1288b9\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Go to Keys and Access Tokens section, and click the “Create my access token” button in the very bottom of the page.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/R11cQ1S3SWPrOVYbFNng_Screen-Shot-2014-10-29-at-19.00.34-copy.png\",\n        \"Screen-Shot-2014-10-29-at-19.00.34-copy.png\",\n        \"1198\",\n        \"1256\",\n        \"#1c6d93\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n4. You will need to specify the following keys in Pushwoosh app’s Twitter API settings:\n\n  1. Consumer Key (API Key)\n  2. Consumer Secret (API Secret)\n  3. Access Token\n  4. Access Token Secret \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/49LfBMItRUerIXWR5DMe_Extraordinary_App___Twitter_Application_Management-1024x754.png\",\n        \"Extraordinary_App___Twitter_Application_Management-1024x754.png\",\n        \"1024\",\n        \"754\",\n        \"#ae6146\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n5. Paste Twitter API keys above to the Twitter API settings of your application in Pushwoosh, and save credentials.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/fyg1JNR0Sy2RRWYebdwb_Pushwoosh___Applications___Pushwoosh_Demo_App___Twitter_Feeds.png\",\n        \"Pushwoosh___Applications___Pushwoosh_Demo_App___Twitter_Feeds.png\",\n        \"1161\",\n        \"515\",\n        \"#0ba3eb\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n6. Click *Add Twitter Feed*, and specify the Search Type and hashtags or Twitter usernames you’d like Pushwoosh to look for in Twitter.\n\nSearch types:\n\n  * **#** – tweets that contain a hashtag you specify;\n  * **:::at:::** – tweets that contain tweets and replies with the Twitter username you specify;\n  * **from:** – tweets from a specified Twitter username;\n  * **Custom:** – here you can specify multiple hashtags and usernames, and Pushwoosh will fire out those tweets that have one of these in it. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/yVVMBHIFQVGMZT728U6l_twitterlast.png\",\n        \"twitterlast.png\",\n        \"869\",\n        \"477\",\n        \"#209f6a\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nThat’s it!","excerpt":"","slug":"twitter-feeds","type":"basic","title":"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). [block:api-header] { "type": "basic", "title": "Configuration" } [/block] 1. Go to [Twitter Application Management](https://apps.twitter.com/) website, and click “Create New App”. [block:image] { "images": [ { "image": [ "https://files.readme.io/K6siA4e6RDaFNAEpdTQF_Screen_Shot_2014-10-29_at_18_58_12.png", "Screen_Shot_2014-10-29_at_18_58_12.png", "1196", "368", "#0a8abf", "" ] } ] } [/block] 2. Fill in all required fields, and click “Create your Twitter Application” in the bottom of the page. [block:image] { "images": [ { "image": [ "https://files.readme.io/3vw2MQKPQRK4Wtws4076_Screen_Shot_2014-10-29_at_19_00_02.png", "Screen_Shot_2014-10-29_at_19_00_02.png", "1197", "881", "#1288b9", "" ] } ] } [/block] 3. Go to Keys and Access Tokens section, and click the “Create my access token” button in the very bottom of the page. [block:image] { "images": [ { "image": [ "https://files.readme.io/R11cQ1S3SWPrOVYbFNng_Screen-Shot-2014-10-29-at-19.00.34-copy.png", "Screen-Shot-2014-10-29-at-19.00.34-copy.png", "1198", "1256", "#1c6d93", "" ] } ] } [/block] 4. 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 [block:image] { "images": [ { "image": [ "https://files.readme.io/49LfBMItRUerIXWR5DMe_Extraordinary_App___Twitter_Application_Management-1024x754.png", "Extraordinary_App___Twitter_Application_Management-1024x754.png", "1024", "754", "#ae6146", "" ] } ] } [/block] 5. Paste Twitter API keys above to the Twitter API settings of your application in Pushwoosh, and save credentials. [block:image] { "images": [ { "image": [ "https://files.readme.io/fyg1JNR0Sy2RRWYebdwb_Pushwoosh___Applications___Pushwoosh_Demo_App___Twitter_Feeds.png", "Pushwoosh___Applications___Pushwoosh_Demo_App___Twitter_Feeds.png", "1161", "515", "#0ba3eb", "" ] } ] } [/block] 6. Click *Add Twitter Feed*, and specify the Search Type and hashtags or Twitter usernames you’d like Pushwoosh to look for in Twitter. 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. [block:image] { "images": [ { "image": [ "https://files.readme.io/yVVMBHIFQVGMZT728U6l_twitterlast.png", "twitterlast.png", "869", "477", "#209f6a", "" ] } ] } [/block] That’s it!