{"id":67826,"date":"2013-10-21T01:38:52","date_gmt":"2013-10-20T18:38:52","guid":{"rendered":"http:\/\/moui.net\/blog\/?p=67826"},"modified":"2013-10-21T01:42:14","modified_gmt":"2013-10-20T18:42:14","slug":"how-to-config-the-twitter-digest-for-twitter-api-v1-1","status":"publish","type":"post","link":"https:\/\/moui.net\/blog\/2013\/10\/how-to-config-the-twitter-digest-for-twitter-api-v1-1\/","title":{"rendered":"How to config the Twitter Digest for Twitter API (v1.1)"},"content":{"rendered":"<p>from : <a title=\"Permalink to Twitter Digest Lives!\" href=\"http:\/\/whalespine.org\/2013\/06\/23\/twitter-digest-lives\/\" rel=\"bookmark\">Twitter Digest Lives!<\/a><\/p>\n<div><abbr title=\"2013-06-23T14:59:03-0600\">Sunday, June 23, 2013<\/abbr><\/div>\n<div>\n<p>Despite Twitter\u2019s best efforts, I\u2019ve managed to bring back Twitter Digest from the bring of destruction to work with the new Twitter API (v1.1). <a href=\"http:\/\/wordpress.org\/plugins\/twitter-digest\/\">Version 2.8<\/a> of the plugin has just been released and should be considered unstable until I\u2019ve had a chance to test it over the a few days. However, considering 2.7 was not working for anyone, we\u2019d be no further behind if a bug in 2.8 prevented tweet digests from being created. Feel free to try it out yourself and let me know if you run into problems.<\/p>\n<p>Unfortunately, Twitter now requires authentication for all API requests. I won\u2019t get into why this is stupid here, but suffice to say the Four Tokens of the Apocalypse are upon us and we\u2019re all worse off for it. You can check out <a href=\"http:\/\/www.webdevdoor.com\/php\/authenticating-twitter-feed-timeline-oauth\/\">this post<\/a> to see how you can get your own tokens and, if interested, how I ended up fixing the plugin. Basic instructions are:<\/p>\n<ol>\n<li>Login in to <a href=\"http:\/\/dev.twitter.com\/apps\">http:\/\/dev.twitter.com\/apps<\/a><\/li>\n<li>Create a new Twitter app and generate tokens.<\/li>\n<li>Enter the token values in the corresponding fields on the Twitter Digest option page<\/li>\n<\/ol>\n<p>Finally, I\u2019m no expert on Twitter authentication or oAuth, but it seems you only need one set of tokens if you are running multiple website with digesting multiple Twitter feeds, as long as the tokens you use on the plugin are associated with a Twitter account that has access to the Twitter account you want to digest. For example, if you create the authentication tokens for @a and @a follows @b, then based on my cursory testing, it appears you don\u2019t need a Twitter App or authentication tokens associated with @b to digest @b. Just put \u2018b\u2019 in \u2018Username\u2019 option field on the Twitter Digest option page and it should work. Like I said though, @a has to be following @b.<\/p>\n<p>Let me know if anything fails and thanks for the feedback.<\/p>\n<\/div>\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fmoui.net%2Fblog%2F2013%2F10%2Fhow-to-config-the-twitter-digest-for-twitter-api-v1-1%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:450px; height:80px;\" allowTransparency=\"true\"><\/iframe>","protected":false},"excerpt":{"rendered":"<p>from : Twitter Digest Lives! Sunday, June 23, 2013 Despite Twitter\u2019s best efforts, I\u2019ve managed to bring back Twitter Digest from the bring of destruction to work with the new Twitter API (v1.1). Version 2.8 of the plugin has just been released and should be considered unstable until I\u2019ve had a chance to test it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":67827,"comment_status":"open","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3,179,70],"tags":[637,682,636],"class_list":["post-67826","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-how-to","category-twitter","tag-api","tag-twitter","tag-twitter-digest"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?fit=1235%2C1128&ssl=1","blog_post_layout_featured_media_urls":{"thumbnail":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=100%2C150&ssl=1",100,150,true],"full":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?fit=1235%2C1128&ssl=1",1235,1128,false]},"categories_names":{"3":{"name":"Blog","link":"https:\/\/moui.net\/blog\/category\/blog\/"},"179":{"name":"How-To","link":"https:\/\/moui.net\/blog\/category\/how-to\/"},"70":{"name":"Twitter","link":"https:\/\/moui.net\/blog\/category\/twitter\/"}},"tags_names":{"637":{"name":"API","link":"https:\/\/moui.net\/blog\/tag\/api\/"},"682":{"name":"Twitter","link":"https:\/\/moui.net\/blog\/tag\/twitter\/"},"636":{"name":"Twitter Digest","link":"https:\/\/moui.net\/blog\/tag\/twitter-digest\/"}},"comments_number":"0","wpmagazine_modules_lite_featured_media_urls":{"thumbnail":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=100%2C150&ssl=1",100,150,true],"cvmm-medium":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=300%2C300&ssl=1",300,300,true],"cvmm-medium-plus":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=305%2C207&ssl=1",305,207,true],"cvmm-portrait":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=400%2C600&ssl=1",400,600,true],"cvmm-medium-square":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=600%2C600&ssl=1",600,600,true],"cvmm-large":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=1024%2C1024&ssl=1",1024,1024,true],"cvmm-small":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?resize=130%2C95&ssl=1",130,95,true],"full":["https:\/\/i0.wp.com\/moui.net\/blog\/wp-content\/uploads\/2013\/10\/twitter-logo-bird1.gif?fit=1235%2C1128&ssl=1",1235,1128,false]},"jetpack_shortlink":"https:\/\/wp.me\/phmP7-hDY","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/posts\/67826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/comments?post=67826"}],"version-history":[{"count":1,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/posts\/67826\/revisions"}],"predecessor-version":[{"id":67828,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/posts\/67826\/revisions\/67828"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/media\/67827"}],"wp:attachment":[{"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/media?parent=67826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/categories?post=67826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moui.net\/blog\/wp-json\/wp\/v2\/tags?post=67826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}