{"id":16944871,"date":"2023-08-03T15:00:34","date_gmt":"2023-08-03T15:00:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=16944871"},"modified":"2023-08-03T15:11:38","modified_gmt":"2023-08-03T15:11:38","slug":"twitter-fix-api-issue","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/twitter-fix-api-issue\/","title":{"rendered":"Twitter Fix (API issue)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Twitter made some changes to their API plans and this caused our plugin to stop working. To fix this, please read the guide below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have added your Twitter account to the Revive Old Posts Dashboard, please remove it first.<br \/><br \/>Once done, add the snippet below to your theme\u2019s function.php.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>add_filter( &#8216;option_rop_first_install_version&#8217;, &#8216;__return_false&#8217; );<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then save your changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Login to <a href=\"https:\/\/developer.twitter.com\">https:\/\/developer.twitter.com<\/a>. It should have the same credentials with the Twitter account you want to use.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If this is not the first time you use this page, please skip to step 4.<br \/><br \/>You will be presented with the Twitter plans but you have the option to sign up for a free account at the bottom.<a href=\"https:\/\/vertis.d.pr\/i\/IwVZKN\"> https:\/\/vertis.d.pr\/i\/IwVZKN<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enter your use cases in using Twitter, there is no right or wrong answer here.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/vertis.d.pr\/i\/htb5J8\">https:\/\/vertis.d.pr\/i\/htb5J8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It must be at least 250 characters long.<br \/>After that, agree to all terms and click the Submit button.<\/p>\n\n\n\n<ol>\n<li>On the Twitter Developer Dashboard, you will see the Create Project button, click on it and follow the prompt. It\u2019s up to you what use case you will choose.<\/li>\n\n\n\n<li>You can only create one app in the free plan, as you can see on the demo, I can only add to my existing app.<\/li>\n\n\n\n<li>Under User Authentication Settings, click on the Set up button.<\/li>\n\n\n\n<li>App permission should be Read &amp; Write<\/li>\n\n\n\n<li>Type of App is Web app<\/li>\n\n\n\n<li>App info (make sure to change these to use your own domain!)<br \/>Callback\/Redirect URL: <a href=\"https:\/\/example.com\/wp-admin\/admin.php?page=TweetOldPost\">https:\/\/example.com\/wp-admin\/admin.php?page=TweetOldPost<br \/><\/a>Website URL: <a href=\"https:\/\/example.com\/\">https:\/\/example.com<\/a><\/li>\n\n\n\n<li>Make sure to copy both API keys.<br \/><br \/>Please see this screencast for reference: <a href=\"https:\/\/vertis.d.pr\/v\/pI8ylM\">https:\/\/vertis.d.pr\/v\/pI8ylM<br \/><\/a><\/li>\n<\/ol>\n","protected":false},"template":"","class_list":["post-16944871","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16944871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16944871\/revisions"}],"predecessor-version":[{"id":16944891,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16944871\/revisions\/16944891"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16944871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}