Skip to content

Web service that can retweet by user authorization with Twitter Oauth v1.

License

Notifications You must be signed in to change notification settings

acikyazilimagi/afet-yardim-twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

afet-yardim-bot

Web service that can retweet by user authorization with Twitter Oauth v1.

Build

  1. Download the ZIP file using git clone or the link.
  2. Customize the values in the main.go file.
var (
	flags          = flag.NewFlagSet("user-auth", flag.ExitOnError)
	consumerKey    = flags.String("consumer-key", "", "Twitter Consumer Key")
	consumerSecret = flags.String("consumer-secret", "", "Twitter Consumer Secret")
	accessToken    = flags.String("access-token", "", "Twitter Access Token")
	accessSecret   = flags.String("access-secret", "", "Twitter Access Secret")
)
  1. Build this server.
go build .

Run & Trigger

./afet-yardim-bot

Send Request

http://localhost:8080/retweet?id=1622383183646937088

About

Web service that can retweet by user authorization with Twitter Oauth v1.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages