Skip to content
This repository was archived by the owner on Feb 5, 2023. It is now read-only.
/ Twitter Public archive

Using Twitter api, get tweets from your time line. This App is also made by Swift Concurrency.

License

Notifications You must be signed in to change notification settings

tosh7/Twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS client app for Twitter

⚠️ iOS client app for Twitter has reached end-of-life. Twitter API is now closed, and I considered new API plan which costs $100 per mondth is not worth to use. Using Twitter api, get tweets from your time line. This App is also made by Swift Concurrency.

Library dependencies

All libraries is installed via SwiftPackageManager. You can check all library dependencies here.

How to start

  1. Clone this repository.
  2. Make Twitter.plist such as below. And replace consumer_key and consumer_secret to Twitter API's APIKey and APISecretKey.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>bearer_token</key>
	<string></string>
	<key>client_id</key>
	<string></string>
	<key>oauth2_state</key>
	<string></string>
	<key>oauth2_code_challenge</key>
	<string></string>
</dict>
</plist>

Twitter.plist is added in .gitignore file for the security.

Twitter authentification is base on OAuth2.
oauth_state and oauth_code_challenge is generated base on below document.
https://datatracker.ietf.org/doc/html/rfc7636

How to use

  1. Press 'Sign in with Twitter' button
  2. Then, you will get your timeline.

How it works

Simulator.Screen.Recording.-.iPhone.12.Pro.Max.-.2022-07-27.at.00.51.20.mov

API Docs

All API documents are referenced by Twitter API v2.
All api endpoints are defined here.

About

Using Twitter api, get tweets from your time line. This App is also made by Swift Concurrency.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages