Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (18 loc) · 1.16 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.16 KB

terremotibot-social

Integration for TerremotiBot.

Receives earthquakes details and image cards through Amazon SQS for every 'big' earthquake, and publishes text and image to Twitter and Facebook.

❌ DEPRECATED

This integration has been embedded in the main TerremotiBot repository.

How to run

node index.js

But before...

Configuration

A config.json file should be placed in the src/config directory. The template for the configuration file is example.config.json.

Key Required Explanation
sqs.* Yes Amazon SQS queue configuration
facebook.accessToken Yes Generate a permanent access token for the page you want to publish to. See Facebook docs or StackOverflow
facebook.pageId Yes The ID of the page you want to publish the post to
twitter.* Yes Twitter keys