BananaHolograma / twitter-api-php

A closer approach to the current twitter api and how to build REST APIs with good practices and security.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTES FOR ME

  • Snowflake as primary id
  • Tweet have an edit_history_tweet_ids as json that represent the editing history for this tweet
  • Tweet have an object edit_controls that represents the edits remaining, From the official twitter api: _when present, this indicates how much longer the Tweet can be edited and the number of remaining edits. Tweets are only editable for the first 30 minutes after creation and can be edited up to five times*.
  • Dive in to understand context_annotations and make Entity recognition/extraction, topical analysis
  • Tweets handle the lang with BCP47 language tag https://www.techonthenet.com/js/language_tags.php
  • Tweets can be judged and reviewed as possibly sensitive
  • Tweet reply settings can be defined as: everyone, mentioned_users, followers
  • The tweet has a source field that reflect where was created.

MORE THINGS

  • When a tweet is being created add default values for metrics and edit remainings
  • reply settings must be a enum
  • Look for a better way to update the edit controls when a tweet is still edit eligible

DEVELOPER PORTAL

  • ALLOW USERS WITH AN ACCOUNT CREATE CLIENTS TO CONSUME THE API
  • DIVIDE THE SCOPE ACCESS BASED ON A PLAN (FREE ACCOUNT INCLUDED)
  • LIMIT THE REQUESTS FOR EACH ENDPOINT DEPENDING ON THE PLAN
  • WIZARD FORM TO HELP USERS CREATE A NEW APP PROJECT IN THE DEVELOPER PORTAL AND ABSTRACT THE OAUTH2 PROCESS
  • GIVE THE API SECRET, API KEY AND BEARER TOKEN

About

A closer approach to the current twitter api and how to build REST APIs with good practices and security.


Languages

Language:PHP 94.1%Language:Blade 5.0%Language:Shell 0.7%Language:JavaScript 0.2%