[Resolved] Tweets imported in wrong order (inverse)
I installed this plugin. Configure it. And I hit download tweets button to get old tweets imported (I don’t know why the plugin says this has to be coded if you want this functionality as hitting that button just after install imports old tweets -maybe if old tweets are a lot this wont work-). The tweets are imported in inverse order which is totally wrong.
If I have these tweets:
1.- 10 min ago.
2.- 1 day ago.
3.- 5 days ago.
They are imported in inverse order:
Post id 27.- 10 min ago.
Post id 28.- 1 day ago.
Post id 29.- 5 days ago.
So the oldest is the newest in wordpress.
This happens on every import of tweets each 15 min. So if for example in next 15 minutes I write tweets:
1.- 5 min ago
2.- 6 min ago
3.- 8 min ago
When imported I’m going to finish with the previous 3 tweets and the 3 new tweets in the following order:
Post 27.- 25 min ago
Post 28.- 1 day ago
Post 29.- 5 days ago
Post 30.- 5 min ago
Post 31.- 6 min ago
Post 32.- 8 min ago
A totally mess order which is reflected in the archive pages.
So in my opinion the import feature should be reviewed to import in correct order or otherwise in archive pages you should add code in the query to retrieve the tweets ordered by “name DESC” for example (don’t know if there is a better option) instead of post id which has a wrong order.
Though probably the most correct thing is to import tweets in corect order in first place.
- The topic ‘[Resolved] Tweets imported in wrong order (inverse)’ is closed to new replies.