Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Code Examples for Implementing WordPress.com Connect
JavaScript Python PHP
branch: master

Merge pull request #2 from codebykat/master

Added README, requirements.txt and .gitignore
latest commit 469c93a2e1
@codebykat codebykat authored

README.md

WordPress.com Connect Examples

Code Examples for Implementing WordPress.com Connect

Instructions

These examples require minor changes to get working. The full instructions for getting a php app running are on developer.wordpress.com.

These instructions assume you know how to run a website for your chosen framework: php (start a webserver), node.js (run npm install), etc.

  1. Log in to WordPress.com
  2. Create a new WPCC application: developer.wordpress.com/apps/. You can change these settings at any time.
  3. Search for TODO in all the files for your particular framework, and adjust them as appropriate.
  4. Start your server and login.
  5. Profit!

Storing and using the access token is an exercise left for the developer.

Current Frameworks

Language Framework Author
PHP N/A Automattic
Javascript Node.js Express Automattic
Python Flask Automattic

Where is Framework X?

If you implement a framework we don't have, we'd love to include it in this project. Just submit a pull request.

Something went wrong with that request. Please try again.