Closed (fixed)
Project:
Twitter
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2009 at 20:53 UTC
Updated:
23 Dec 2009 at 01:10 UTC
Hi Folks
I started working on modifying twitter module by creating functionality which would save tweets as nodes rather keeping them separately.
I was trying to understand the code bit where they save tweets into db. Code says drupal_write_record('twitter', $status);
i was wondering how do they ensure duplicate entries are not created?
Would be great if somebody helped to understand the code.
Thanks
Comments
Comment #1
abraham commenteddrupal_write_record is a Drupal core function. You can check it out here: http://api.drupal.org/drupal_write_record