Open xi-jjun opened 4 weeks ago
tweet
tableadd unique
ALTER TABLE tweet
ADD CONSTRAINT uk_tweet_id UNIQUE (tweet_id);
tweets_users
tableadd index
CREATE INDEX idx_tweet_id ON tweets_users (tweet_id);
add unique constraints
ALTER TABLE tweets_users
ADD CONSTRAINT uk_user_id_tweet_id UNIQUE (user_id, tweet_id);
docs : https://developer.x.com/en/docs/authentication/oauth-2-0/user-access-token
docs : https://supabase.com/docs/guides/database/joins-and-nesting?queryGroups=language&language=python
https://www.notion.so/X-access-token-retrieve-failure-9c5be256b6de49cca556f90d42ef09dc
notion : https://www.notion.so/X-Timeline-Crwaling-c49f87832bbf461299b9576cba884efa
Requirements