after today update , get this error:
PHP Warning: Undefined variable $postid in /home/XXXXXX/public_html/wp-content/plugins/twitter-auto-publish/admin/publish.php on line 100
Hello,
is here any code to delay in posting up to (e.g.) 60 seconds?
Thanks in advance.
]]>Hello team,
Recently, we have been using the Auto Post for Twitter plugin. Everything is working fine as we have successfully set it up, but we are facing a small issue. When we publish articles, they are posted multiple times (twice) on our Twitter account. How can we fix this?
Please guide us.
Thank you.”
]]>Hi
I’d like to ask, is this plugin compatible with MySQL 8 or 8.x?
Please advise. thanks!
best regards,
Niki
I had a look in the settings but could not see an option. I had a evil user sign up who created ads in question then of course they were automatically posted to X. Is there a way to make it that only questions that specific users ask will get posted to X? or is there an option to limit tweets to Administrator only?
]]>So after I finally got it working I was happy. Now to try and give it some polish! If you look at my twitter/x profile page you will see the top three tweets are coming from my iask.nz 2 have a lovely clean layout with image. The middle one is the WP Twitter Auto Publish version. Is it possible to achieve the same layout the other two are manually sent from the iask.nz site. Cheers
]]>Firstly, I want to express my appreciation for your excellent work on the plugin – it’s been fantastic!
I have a query regarding the article scheduling feature with auto-posting to Twitter. Is it possible to retain a custom text specific to each post during scheduling? I’ve noticed that when a post is scheduled, the text reverts to a default structure. Could you please advise on how to maintain the custom text for scheduled posts?
]]>after a half hour blundering through the complex setup with directions that were not directive enough I managed to get a response in the log that said “401:Unauthorized.” which I have no idea wether that is to do with the twitter thingy or the wordpress plugin I would suggest we leave this for those with a degree from MIT sorry to be harsh I have always wished the wordpress would offer a level of competency guide on plugins
]]>Hello, here is the error in logs:
statuses/update : O:8:”stdClass”:1:{s:6:”errors”;a:1:{i:0;O:8:”stdClass”:2:{s:7:”message”;s:24:”Invalid or expired token”;s:4:”code”;i:89;}}}
]]>Hello, the plugin is installed and configured correctly but no post is posted to twitter and nothing shows up in the logs. Can you help?
]]>Hello,
the plugin is great and works fine, but its beahaviour has changed (for worse in my opinion) after some update, whether in the plugin, wordpress…
Currently, if you are crerating a post, it is set by default to autopublish, which in my case is the desired behaviour. However, if you preview the post, the autopublish gets set to false, even though the post has not been published yet and you have to remember to set it to true before publishing.
Before, you could preview the post, hit publish, the post was sent to Twitter and then, the autopublish would be set to false to avoid resending the post to Twitter in case you updated anything.
Could you give a look into this?
Thank you!
]]>I really liked this plugin but now it has stopped working and i do not know why.
on my settings it says the following
Note: You have to create a Twitter application before filling in following fields.
Click here to create new application. Specify the website for the application as https://www.in2town.co.uk
In the twitter application, navigate to Settings > Application Type > Access.Select Read and Write option.
After updating access, navigate to Details > Your access token in the application and click Create my access token button.
For detailed step by step instructions Click here
I am not sure if this is a standard message or not. but i have followed all this and it will not work.
can i have some advice to get it working because it was a great plugin
]]>Hi, could it be possible to have the option to add a second account to autopost to both accounts (1st and 2nd)? We know free Twitter Autopost plugins that let do this and would be nice to have this option, so we can post in 2 of our accounts at same time. This is an example: https://i.imgur.com/nmWvutk.jpg
Hpefully you can manage and are insterested in making this option possible. Thank you.
]]>We are experiencing an issue with some posts – some scheduled some other not: even if we press “no” for the autopublish option in the post edit screen, the post is published anyway on twitter. I checked the settings (both twitter and general) and they are set as follows:
Twitter -> Enable autopublish -> Yes
General -> Publish wordpress “posts” -> Yes
General -> Select post types… -> “flashes” and “episodes” are checked (episodes is the one that is causing the issues the most)
General -> Select the categories… -> All
General -> Auto publish on post/pages/types edit… -> Disabled
General -> Auto publish on creation of post/pages/types -> Enabled
Which could be the problem?
Thanks.
The autopost is not working, in the logfile i get this error:
403:Your client app is not configured with the appropriate oauth1 app permissions for this endpoint..
All help is appreciated.
MegaZip
On a client site, I previously used a plugin that worked fine until the Twitter API V2 came out. That plugin has not been updated, so I looked for another. I got as far as being able to successfully post tweets from my WordPress posts…BUT…they are posting to MY Twitter page instead of the client’s page. I’m wracking my brains trying to figure out how to fix this.
]]>I have always used this plugin in and it is great, but for the past three days it has stopped working.
The message i have received when i test it is as follows
403 Forbidden: The request is understood, but has been refused by Twitter. (Error Code: 453: You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product)
I would like to know if twitter has banned this plugin as it did with the jet plugin. I would also like to know if you join twitter blue if they have their own plugin or will it work if you start paying twitter.
Auto publishing is so important for my website and without it i will lose around 30% of my traffic
]]>Got this error message when listing plugins via wp-cliPHP Parse error: syntax error, unexpected ')' in public_html/wp-content/plugins/twitter-auto-publish/admin/publish.php on line 459
Would love to use your plugin but we use custom fields for description, main image etc
]]>Hi!
Plugin is working as intended ie: its make auto post to Twitter when we publish post.
But we are using https://permalinkmanager.pro/docs/filters-hooks/how-to-filter-the-default-custom-permalinks/
For example if our post permalink is https://example.com/a-very-long-slug-with-seven-words/slug-with-exactly-five-words/another-pretty-long-sentence-that-should-be-shorten
We trim it to make its length short https://example.com/a-very-long-slug-with-seven-words
Below is code used for this purpose:
function mp_limit_slugs_length($uri) {
$max_words = 10; // If any part of URI contains more than 10 words, the slug will be limited to first 10 words
$new_title = '';
$slugs = explode('/', $uri);
for($i=0, $count = count($slugs); $i < $count; $i++) {
$slug = $slugs[$i];
$words = explode('-', $slug);
$new_title .= "/";
if(count($words) > $max_words) {
$new_title .= implode("-", array_slice($words, 0, $max_words));
} else {
$new_title .= $slug;
}
}
// Remove trailing slashes
$new_title = trim($new_title, "/");
return $new_title;
}
add_filter('permalink_manager_filter_default_post_uri', 'mp_limit_slugs_length', 10);
But problem is Twitter post uses the url which is saved while draft post ie: the long url but we want to use url which is created after wards ie: when post is published and url length is modified by using above code ie: filter permalink_manager_filter_default_post_uri
Please suggest how we can make it possible.
Thanks!
I am not very techy. When the plugin stopped working, I came here… read the thread on twitter “suspending”. This was the case for me, so I deleted and started over, assuming it would be a never version.
I believe I got this right:
https://www.elsaelsa.com/wp-content/uploads/2023/07/tweet.jpg
I copied the keys into the plugin on wp and the next post failed to work.
Reading the instructions, carefully, I clicked:
Read and write – Read and Post Tweets and profile information
But I am unable to fill in anything else or “save”
https://www.elsaelsa.com/wp-content/uploads/2023/07/tweet-question.jpg
This is the error on the log:
statuses/update : N;
What am I missing here?
Thanks!
]]>I just updated the plugin, then tried sending a tweet, awesome it worked. Thank you for the great work!
]]>Hi, folks as of today none of the XYZ plugins are working with Twitter; both this free one and the premium one we have active license for. I sent query yesterday. If the hold up is image support; best bet is to release interim version with support only for open graph tags, as most sites should be doing that anyway (as our sites are setup).
Thanks! ??
]]>Be aware Twitter suspended many sites as of last night; even if previously upgraded from v1 to V2 app. You need to login to your developer.twitter account, check to see if the ‘app’ under ‘project’ has SUSPENDED notice.
So, apparently they are now cracking down on any interim apps still connecting via 1.1 API and not fully via 2.0 API.
So as of today for most of our sites, this plugin no longer works at all, regardless of setting and must be updated to use 2.0 API to work at all.
Twitter is effectively suspending all apps connected to old API in any way; even if you setup a new 2.0 project and app.
I have confirmed making *new* app for project, and deleting suspended one, does NOT restart push from this plugin to Twitter.
]]>From today onwards I was forcefully moved to use Twitter API 2.0 Basic Free version by Twitter.
Old App had been suspended but there was an option to “Downgrade” to the Free version of API 2.0.
2.0 has different security auth keys.
Please upgrade your plugin accordingly
]]>The plugin no longer works since the end of April, I get this error: statuses/update : {“errors”:[{“message”:”Could not authenticate you”,”code”:32}]}
Not available.
I assume this has something to do with the twitter API changes? Are you guys working on a fix, or is this the end of the plugin? Or do we now need to pay for plugins like yours to work?
Thank you
]]>Hi, we use the larger pro plugin on one site, and using this on some baby sister sites, since we only auto post to twitter and no other socials (we do other stuff by hand). Question, we use YOURLS, and also pull a meta data field from ACF on posts, to put in custom #tags from the posts. On the PRO plugin we do this:
<code>{POST_TITLE} {SHORTLINK} @OURTWITTERACCT {POSTMETA:twitter_tags}</code>
Will this work with this plugin? Is there option to specify YOURLS being used for shortlink?
Thanks! ??
]]>I have been using the ‘Twitter Auto Publish” plugin for several years without any issues.
Just yesterday, I received an Email from Twitter that says:
“This is a notice that your app – IORG-Twitter-Autotweet – has been suspended from accessing the Twitter API.”
I went into my Twitter Developer dashboard, and I see that
“This App has violated Twitter Rules and policies. As a result, it can no longer be accessed. An email has been sent to?xxxxxx*****.com?with details. For assistance, submit a?support ticket.”
Any ideas what the issue could be?
Regards,
Michael
]]>I have just created a Twitter developer account and my dashboard looks different and does not display “Apply for Elevated” as shown in the tutorial (step 15) https://help.xyzscripts.com/docs/social-media-auto-publish/faq/how-can-i-create-twitter-application/. How to fix this issue?
]]>Hi,
I would like to ask, regarding to Twitter will deprecate free API access, would it affect to the performance of this plugin? Would it still be working as expected as it used to be? Please advise me thanks
Best regards,
Niki?