Code Examples for Implementing WordPress.com Connect
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.
- Log in to WordPress.com
- Create a new WPCC application: developer.wordpress.com/apps/. You can change these settings at any time.
- Search for TODO in all the files for your particular framework, and adjust them as appropriate.
- Start your server and log in.
- Profit!
Storing and using the access token is an exercise left for the developer.
Language | Framework | Author |
---|---|---|
PHP | N/A | Automattic |
Javascript | Node.js Express | Automattic |
Python | Flask | Automattic |
If you implement a framework we don't have, we'd love to include it in this project. Just submit a pull request.