Needs review
Project:
Twitter
Version:
7.x-5.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2014 at 18:20 UTC
Updated:
8 Jun 2016 at 19:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedIt would be nice to have an option to re-sync tweets.
Comment #2
r-mo commentedQuick patch to check the most recent 10 statuses for deleted tweets, on each cron.
Comment #3
damienmckennaNeeds a little work to adhere to the Drupal coding standards.
Comment #4
damienmckennaThis has been rerolled, updated to the Drupal coding standards, and I added an item to hook_uninstall for the new variable.
Comment #5
alfthecat commentedPatch applies cleanly and it works brilliantly too! Just need to set "remove deleted twitter statuses of site users" on the main settings page.
Thanks so much!!
Comment #6
hkirsman commented#4 works!
Comment #7
damienmckennaComment #8
damienmckennaClosed a duplicate: #2150773: Tweets deleted on twitter.com are still showing in block after cron run
Comment #9
damienmckennaRerolled. I've also tidied up the code a little in twitter_remove_deleted_statuses() and expanded its check with a new setting that allows the site builder to control how many tweets will be checked at once.
Comment #10
damienmckennaOh, I also changed from using db_query() to db_query_range().
Comment #12
rbrandon commentedPatch looks good. as long as the re-fetch is occurring it might be nice to check for updated tweets as well. Any word on this getting rolled into the module?