PHP Classes

PHP Twitter Bot: Application to automate interactions using Twitter

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (139)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 288 All time: 7,503 This week: 147Up
Version License PHP version Categories
twitterbot 1.0.0Custom (specified...5PHP 5, Web services, Social Networking
Description 

Author

This package implements an application to automate interactions using Twitter.

It accesses the Twitter API to perform several actions to allow one Twitter account to automatically interact with other Twitter users. Currently it can:

- Have chat bot that can reply automatically to messages that have given keywords and phrases or to mentions to given accounts
- Archive tweets by searching recents and store them in a database
- Scheduling tweets to be sent a specific date and time
- Send direct messages when someone follow your account.
- Analysis daily and monthly data about chat Tweets, direct messages on follow
- Top 10 chat keywords, chat users, archived tweet users, scheduled tweets

Innovation Award
PHP Programming Innovation award nominee
February 2019
Number 7
Twitter is a very popular social network that engages people in a way that they want to exchange messages for all sorts of reasons.

This package implements a solution to automate interactions between regular users and other users that may work for companies or other types of institutions, so they do not need to spend so much time interacting users that are interested in their activities.

Manuel Lemos
Picture of Naif Alshaye
  Performance   Level  
Name: Naif Alshaye <contact>
Classes: 24 packages by
Country: Saudi Arabia Saudi Arabia
Innovation award
Innovation award
Nominee: 9x

Documentation

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/logo.jpg?raw=true" width="220">

Twitter Bot 1.0

An open source Laravel php application for Twitter data automation and archiving.

Bot Dashboard Demo

Please Note: - Only view is allowed in this demo no add/edit/delete. * The bot is designed to not exceed Twitter API limit, you must not run cron jobs less than 1 minute. You only have 15 API calls per 15 minutes window.

https://naif.io/twitterbot

Email Address: demo@demo.com

Password: demo

TwitterBot demo account: @twitrbot_demo https://twitter.com/twitrbot_demo

Features and Services:

Chat Bot:

Using the Twitter User API to fetch account data. Add keywords and phrases and a reply tweet, then the Bot will check your twitter account?s mention and look into the tweet text to see if there is any matching keyword to reply to the tweet itself.

Archiving:

This search API searches against a sampling of recent Tweets published in the past 7 days. The bot will search for tweets matching your keywords or phrases, it will store tweet and user objects data into the databas.

Scheduling Tweet:

Send auto tweets at a specific date and time.

Direct Message On Follow:

Send direct message when someone follow your account.

Analysis:

Monitor the daily and monthly data. - Daily Chat Tweets - Daily Direct Messages On Follow - Top 10 Chat Keywords - Top 10 Chat Users - Top 10 Archived Tweets Users - Current Year Schedules

Settings:

Add Twitter API keyes here. You can also turn on/off features and services or power off bot completely.

Screenshots

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/7.png" width="500">

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/1.png" width="500">

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/2.png" width="500">

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/3.png" width="500">

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/5.png" width="500">

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/4.png" width="500">

<img src="https://github.com/naifalshaye/twitterbot/blob/master/screenshots/6.png" width="500">

Support | Bugs | Vulnerabilities

naif@naif.io

https://twitter.com/naifalshaye

License

The MIT License (MIT). Please see License File for more information.


Screenshots  
  • screenshots/1.png
  • screenshots/2.png
  • screenshots/3.png
  • screenshots/4.png
  • screenshots/5.png
  • screenshots/6.png
  • screenshots/7.png
  • screenshots/logo.jpg
  Files folder image Files  
File Role Description
Files folder imageapp (11 files, 6 directories)
Files folder imagebootstrap (2 files)
Files folder imageconfig (14 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (5 files, 3 directories)
Files folder imageresources (3 directories)
Files folder imageroutes (4 files)
Files folder imagestorage (1 directory)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file .env.example Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

  Files folder image Files  /  app  
File Role Description
Files folder imageComposers (1 file)
Files folder imageConsole (1 file, 1 directory)
Files folder imageExceptions (1 file)
Files folder imageHttp (1 file, 2 directories)
Files folder imageLibraries (1 file)
Files folder imageProviders (5 files)
  Plain text file Arachive.php Class Class source
  Plain text file Chat.php Class Class source
  Plain text file ChatTweet.php Class Class source
  Plain text file Conf.php Class Class source
  Plain text file DM.php Class Class source
  Plain text file DMConfig.php Class Class source
  Plain text file Schedule.php Class Class source
  Plain text file Setting.php Class Class source
  Plain text file Tweet.php Class Class source
  Plain text file User.php Class Class source
  Plain text file UserInfo.php Class Class source

  Files folder image Files  /  app  /  Composers  
File Role Description
  Plain text file Composer.php Class Class source

  Files folder image Files  /  app  /  Console  
File Role Description
Files folder imageCommands (5 files)
  Plain text file Kernel.php Class Class source

  Files folder image Files  /  app  /  Console  /  Commands  
File Role Description
  Plain text file Archive.php Class Class source
  Plain text file ChatCommand.php Class Class source
  Plain text file DMFollower.php Class Class source
  Plain text file Scheduled.php Class Class source
  Plain text file UserInfo.php Class Class source

  Files folder image Files  /  app  /  Exceptions  
File Role Description
  Plain text file Handler.php Class Class source

  Files folder image Files  /  app  /  Http  
File Role Description
Files folder imageControllers (11 files, 1 directory)
Files folder imageMiddleware (4 files)
  Plain text file Kernel.php Class Class source

  Files folder image Files  /  app  /  Http  /  Controllers  
File Role Description
Files folder imageAuth (5 files)
  Plain text file AnalyticsController.php Class Class source
  Plain text file ArchiveController.php Class Class source
  Plain text file ArchiveTweetsController.php Class Class source
  Plain text file ChatController.php Class Class source
  Plain text file ChatTweetController.php Class Class source
  Plain text file Controller.php Class Class source
  Plain text file DMController.php Class Class source
  Plain text file GuestController.php Class Class source
  Plain text file HomeController.php Class Class source
  Plain text file ScheduleController.php Class Class source
  Plain text file SettingController.php Class Class source

  Files folder image Files  /  app  /  Http  /  Controllers  /  Auth  
File Role Description
  Plain text file ChangePasswordController.php Class Class source
  Plain text file ForgotPasswordController.php Class Class source
  Plain text file LoginController.php Class Class source
  Plain text file RegisterController.php Class Class source
  Plain text file ResetPasswordController.php Class Class source

  Files folder image Files  /  app  /  Http  /  Middleware  
File Role Description
  Plain text file EncryptCookies.php Class Class source
  Plain text file RedirectIfAuthenticated.php Class Class source
  Plain text file TrimStrings.php Class Class source
  Plain text file VerifyCsrfToken.php Class Class source

  Files folder image Files  /  app  /  Libraries  
File Role Description
  Plain text file TwitterBot.php Class Class source

  Files folder image Files  /  app  /  Providers  
File Role Description
  Plain text file AppServiceProvider.php Class Class source
  Plain text file AuthServiceProvider.php Class Class source
  Plain text file BroadcastServiceProvider.php Class Class source
  Plain text file EventServiceProvider.php Class Class source
  Plain text file RouteServiceProvider.php Class Class source

  Files folder image Files  /  bootstrap  
File Role Description
  Plain text file app.php Class Class source
  Accessible without login Plain text file autoload.php Aux. Auxiliary script

  Files folder image Files  /  config  
File Role Description
  Plain text file app.php Class Class source
  Plain text file auth.php Class Class source
  Accessible without login Plain text file bot.php Aux. Auxiliary script
  Accessible without login Plain text file broadcasting.php Aux. Auxiliary script
  Accessible without login Plain text file cache.php Aux. Auxiliary script
  Accessible without login Plain text file database.php Aux. Auxiliary script
  Accessible without login Plain text file filesystems.php Aux. Auxiliary script
  Accessible without login Plain text file mail.php Aux. Auxiliary script
  Accessible without login Plain text file queue.php Aux. Auxiliary script
  Accessible without login Plain text file sentry.php Aux. Auxiliary script
  Plain text file services.php Class Class source
  Accessible without login Plain text file session.php Aux. Auxiliary script
  Accessible without login Plain text file ttwitter.php Aux. Auxiliary script
  Accessible without login Plain text file view.php Aux. Auxiliary script

  Files folder image Files  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imagemigrations (14 files)
Files folder imageseeds (1 file)

  Files folder image Files  /  database  /  factories  
File Role Description
  Plain text file ModelFactory.php Class Class source

  Files folder image Files  /  database  /  migrations  
File Role Description
  Plain text file 2014_10_12_000000_create_users_table.php Class Class source
  Plain text file 2014_10_12_100000_...rd_resets_table.php Class Class source
  Plain text file 2017_05_04_062346_conf.php Class Class source
  Plain text file 2017_05_10_091156_chat.php Class Class source
  Plain text file 2017_05_13_072237_create_jobs_table.php Class Class source
  Plain text file 2017_05_13_073216_...te_tweets_table.php Class Class source
  Plain text file 2017_05_13_073831_...iled_jobs_table.php Class Class source
  Plain text file 2017_05_13_113609_keywords.php Class Class source
  Plain text file 2017_05_17_173218_latest.php Class Class source
  Plain text file 2017_05_20_150617_schedules.php Class Class source
  Plain text file 2017_06_10_050847_send_dm_on_follow.php Class Class source
  Plain text file 2017_06_10_051248_conf_dm_text.php Class Class source
  Plain text file 2019_02_05_140611_settings.php Class Class source
  Plain text file 2019_02_07_185244_user_info.php Class Class source

  Files folder image Files  /  database  /  seeds  
File Role Description
  Plain text file DatabaseSeeder.php Class Class source

  Files folder image Files  /  public  
File Role Description
Files folder imagecss (1 file)
Files folder imagefonts (1 directory)
Files folder imagejs (1 file)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Plain text file index.php Class Class source
  Accessible without login Plain text file mix-manifest.json Data Auxiliary data
  Accessible without login Plain text file robots.txt Doc. Documentation
  Accessible without login Plain text file web.config Data Auxiliary data

  Files folder image Files  /  public  /  css  
File Role Description
  Accessible without login Plain text file app.css Data Auxiliary data

  Files folder image Files  /  public  /  fonts  
File Role Description
Files folder imagevendor (1 directory)

  Files folder image Files  /  public  /  fonts  /  vendor  
File Role Description
Files folder imagebootstrap-sass (1 directory)

  Files folder image Files  /  public  /  fonts  /  vendor  /  bootstrap-sass  
File Role Description
Files folder imagebootstrap (1 file)

  Files folder image Files  /  public  /  fonts  /  vendor  /  bootstrap-sass  /  bootstrap  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  public  /  js  
File Role Description
  Accessible without login Plain text file app.js Data Auxiliary data

  Files folder image Files  /  resources  
File Role Description
Files folder imageassets (2 directories)
Files folder imagelang (1 directory)
Files folder imageviews (1 file, 9 directories)

  Files folder image Files  /  resources  /  assets  
File Role Description
Files folder imagejs (3 files, 1 directory)
Files folder imagesass (2 files)

  Files folder image Files  /  resources  /  assets  /  js  
File Role Description
Files folder imagecomponents (1 file)
  Accessible without login Plain text file app.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.js Data Auxiliary data
  Accessible without login Plain text file checkbox.js Data Auxiliary data

  Files folder image Files  /  resources  /  assets  /  js  /  components  
File Role Description
  Accessible without login Plain text file Example.vue Data Auxiliary data

  Files folder image Files  /  resources  /  assets  /  sass  
File Role Description
  Accessible without login Plain text file app.scss Data Auxiliary data
  Accessible without login Plain text file _variables.scss Data Auxiliary data

  Files folder image Files  /  resources  /  lang  
File Role Description
Files folder imageen (5 files)

  Files folder image Files  /  resources  /  lang  /  en  
File Role Description
  Accessible without login Plain text file auth.php Aux. Auxiliary script
  Accessible without login Plain text file conf.php Aux. Auxiliary script
  Accessible without login Plain text file pagination.php Aux. Auxiliary script
  Accessible without login Plain text file passwords.php Aux. Auxiliary script
  Accessible without login Plain text file validation.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  
File Role Description
Files folder imageanalytics (1 file)
Files folder imagearchive (4 files)
Files folder imageauth (2 files, 1 directory)
Files folder imagechat (4 files)
Files folder imagedm (2 files)
Files folder imagelayouts (1 file)
Files folder imageschedule (3 files)
Files folder imagesetting (1 file)
Files folder imagevendor (1 directory)
  Accessible without login Plain text file home.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  analytics  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  archive  
File Role Description
  Accessible without login Plain text file add.blade.php Aux. Auxiliary script
  Accessible without login Plain text file edit.blade.php Aux. Auxiliary script
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script
  Accessible without login Plain text file tweets.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  auth  
File Role Description
Files folder imagepasswords (2 files)
  Accessible without login Plain text file login.blade.php Aux. Auxiliary script
  Accessible without login Plain text file register.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  auth  /  passwords  
File Role Description
  Accessible without login Plain text file email.blade.php Aux. Auxiliary script
  Accessible without login Plain text file reset.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  chat  
File Role Description
  Accessible without login Plain text file add.blade.php Aux. Auxiliary script
  Accessible without login Plain text file edit.blade.php Aux. Auxiliary script
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script
  Accessible without login Plain text file tweets.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  dm  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script
  Accessible without login Plain text file setting.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  layouts  
File Role Description
  Accessible without login Plain text file app.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  schedule  
File Role Description
  Accessible without login Plain text file add.blade.php Aux. Auxiliary script
  Accessible without login Plain text file edit.blade.php Aux. Auxiliary script
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  setting  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script

  Files folder image Files  /  resources  /  views  /  vendor  
File Role Description
Files folder imagelaravel-log-viewer (1 file)

  Files folder image Files  /  resources  /  views  /  vendor  /  laravel-log-viewer  
File Role Description
  Accessible without login Plain text file log.blade.php Aux. Auxiliary script

  Files folder image Files  /  routes  
File Role Description
  Accessible without login Plain text file api.php Example Example script
  Accessible without login Plain text file channels.php Example Example script
  Plain text file console.php Class Class source
  Accessible without login Plain text file web.php Example Example script

  Files folder image Files  /  storage  
File Role Description
Files folder imageapp (1 directory)

  Files folder image Files  /  storage  /  app  
File Role Description
Files folder imagepublic (1 directory)

  Files folder image Files  /  storage  /  app  /  public  
File Role Description
Files folder imageimages (2 files)

  Files folder image Files  /  storage  /  app  /  public  /  images  
File Role Description
  Accessible without login Image file logo-sm.png Data Auxiliary data
  Accessible without login Image file logo.png Data Auxiliary data

  Files folder image Files  /  tests  
File Role Description
Files folder imageFeature (1 file)
Files folder imageUnit (1 file)
  Plain text file CreatesApplication.php Class Class source
  Plain text file TestCase.php Class Class source

  Files folder image Files  /  tests  /  Feature  
File Role Description
  Plain text file ExampleTest.php Class Class source

  Files folder image Files  /  tests  /  Unit  
File Role Description
  Plain text file ExampleTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:288
This week:0
All time:7,503
This week:147Up