I opened my first twitter account and I am getting the feel of it.
I see I can delete entries.
So if I delete an article on my web site wouldn't be better to delete
the tweets related to it in my twitter account?
So basically I would do the following:
1. Create a table on my database named ArticlesTweets with the
following columns:
Guid ArticleID
Int TweetID
2. Every time an article is Created or Updated I would create a tweet
with Article's Title + Article's TinyUrl.
I then receive the StatusId and create a new record in
ArticlesTweets.
There is only one problem here:
Consider I create an article but after i created i see i made an
error on the title.
So i go correct it ... with this approach my twitter account would
get two tweets: the right and the wrong.
I am not exactly sure how to put this on ... any idea?
3. If an article is deleted I would get all TweetsIds from
ArticlesTweets table for the given ArticleId.
Then I would destroy those tweets.
What do you think about this approach?
My problem is really the update to solve the problem ...
On Mar 8, 11:35 pm, Cameron Kaiser <[email protected]> wrote:
> > > You can't make up a key and send it to Twitter to make Twitter use that as
> > > a status ID. However, once you have a status ID back, then you can use
> > > that
> > > as a key for your own purposes if you like.
>
> > Can I be sure the the status ID's returned by twitter will always be
> > different?
>
> Yes.
>
> --
> ------------------------------------ personal:http://www.cameronkaiser.com/--
> Cameron Kaiser * Floodgap Systems *www.floodgap.com* [email protected]
> -- FORTUNE: Make your own advancement opportunity. Blackmail your boss.
> -------