Reference app that posts to Twitter when a Yext location updates.
Python HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitignore
README.md
app.cfg.sample
app.py
datastore.py
requirements.txt

README.md

twitter-reference-app

Reference app that posts to Twitter when a Yext location updates.

Prerequisites

  1. Create a Yext developer account and add an app.
  2. Create a Twitter developer account and add an app.

Setup

  1. Clone this repository.
git clone https://github.com/yext/twitter-reference-app.git
  1. Install Python requirements using pip. Using a Python environment tool like virtualenv is recommended.
virtualenv /path/to/env
/path/to/env/bin/pip install -r requirements.txt
  1. Create a configuration file containing Yext and Twitter credentials. See app.cfg.sample for reference.
  2. Run the app.
APP_SETTINGS=/path/to/config /path/to/env/bin/python app.py
  1. Navigate to http://127.0.0.1:5000/ to view app.

Note: To successfully go through the OAuth flow, the Yext OAuth redirect domain and Twitter OAuth redirect URI must both be set to point to your app.