Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Send emoji to @wikimedia Emoji Bot on Twitter, receive an image from Wikimedia Commons collection.

Notifications You must be signed in to change notification settings

xSavitar/Wikimedia-Emoji-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikimedia Emoji Bot

Build Status

The source code for the Wikimedia Emoji Bot lives here

Configuration

  1. Clone project:
git clone https://github.com/ch3nkula/Wikimedia-Emoji-Bot.git
  1. Install Need Package Manager/Management (NPM) on Mac OS X:
brew install npm

Will add for other systems later here.

  1. Install dependencies for the project:
npm install
  1. Copy the example .env file:
cp .env.example .env
  1. Get credentials for your bot and complete the .env
  • When logged-in on the Twitter's developer site, check the link on the top menu My apps (and it will take you to this site: https://apps.twitter.com/) or go straight away to type: https://apps.twitter.com/ on your browser.

  • On the top-right, there is a button saying Create New App, click on it and follow the steps to fill in the form fields.

  • Click the Create your Twitter Application button when you finish the immediate above step.

  • Once the application is created, under the Details section, you will find the credentials to fill into your .env file and additionally, under the Keys and Access tokens, you will find all the keys and access tokens needed in the .env file.

  • When all these configs are done, your app can then connect to Twitter successfully and perform its various functions.

Usage

To post a status

npm run status

To reply to replies

npm run reply

Testing

npm test

Contributing

Emoji additions, bug reports, fixes, and new features are welcomed. If you'd like to contribute code, please:

  1. Fork the project

  2. Start a branch named for your new feature or bug

  3. Create a Pull Request

Forked / Built on

This project is originally built on the NYPL Emoji Bot project. Initial credits go to: Lauren Lampasone and other contributors for building the NYPL-Emoji-Bot.

About

Send emoji to @wikimedia Emoji Bot on Twitter, receive an image from Wikimedia Commons collection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published