Hello,

I installed the module and gave my twitter id as i should but when i run cron the module doesn't post my last tweets.
I tried installing again (just to be sure) but somehow it does not work (D6.9).

When i look in the install file i see this:

function dailytwitter_schema() {
  $schema['dailytwitter'] = array(
    'description' => "Stores mapping of drupal user to twitter user and last check status.",
    'fields' => array(
      'uid' => array(
        'description' => t("The Drupal ID of the user account associated with th
e Twitter account."),
        'type' => 'int',
        'not null' => TRUE
      ),
      'screen_name' => array(
        'description' => t("The unique login name for the Twitter account."),
        'type' => 'varchar',
        'length' => 255
      ),
    ),
    'primary key' => array('uid'),

  );

  return $schema;
}

What is the field where the last check is saved? could this be the problem or must i seek elsewhere?

Comments

jadestorm’s picture

Howdy! The last check is actually saved as a "standard drupal variable", so it's in one of drupal's own tables. It uses one variable for all checks. Now, that said, a future version is going to have last checks for all users due to a restructuring I'm planning. Off the top of my head I'm not sure why it's not working for you though. It only is willing to check every 24 hours so as not to post duplicates. Are you seeing any errors? Is your twitter account "private"?

barthaedens’s picture

Status: Active » Closed (fixed)

i 'resetted' the variable and it works, was probably an issue with the 'only once in 24h' check

Thanks for the quick response