Problem/Motivation
Only a single tweet displayed. I believe there are others out there with this problem but all the suggested fixes, patches and hacks haven't yielded a successful solution.
Installs okay
Twitter module sets up okay and receives info about my account (URLs, public profile bits 'n' bobs
CRON runs fine and, by injecting drupal_set_message($twitter_status->twitter_id); before entity_save('twitter_status', $twitter_status); in function twitter_status_save($status) { we see that it pulls (in my case) two tweets.
The mystery continues in the database where, I believe, the problem lies. Only one tweet is stored in the db and that tweet regardless of it's content, creation time, etc always has the same ID:- 2147483647
So, this is the database taking the bigint from Twitter and clamping it to an int, am I right? Thus, the entry in the db just gets overwritten. No, the latest tweet doesn't find it's way in to the db until after I nip in via phpMyAdmin and purge the table. >:(
But that still doesn't explain why only two tweets are fetched in the first place. Wasted a whole day on this so far and starting to get a bit tetchy so if anyone can please help a fellow nerd it'd be much appreciated.
Apache 2.4.9
MySQL 5.6.17
PHP 5.5.12
Drupal 7.39
Twitter 7.x-6.x-dev
Comments
Comment #2
damienmckennaOh, silly thing - the 7.x-6.x-dev snapshot is over a month old, I've made a whole bunch of improvements since then. I'm going to be releasing 7.x-6.0-rc1 in a few days, try then.
Comment #3
damienmckennaMarking this as "postponed" until after the new release.
Comment #4
arblickspule commentedFirstly: "Oh, silly thing..." - ROFL!
Secondly: Bingo! All my Tweets from the beginning of time itself are on there. Well done that man! :)
Comment #5
arblickspule commented