A package that implements OAuth identity and a simple verb set with wordpress.com for Node.js apps.
You can try it out here.
You can log on, and see a list of your sites, when each was created and modified.
Here's a screen shot.
-
Download the folder.
-
Throw away everything but the shell folder. In the shell folder you can throw away source.opml.
-
Move the shell folder to your server.
-
Edit the config.json file with the credentials you got from WordPress.com.
-
npm install
-
node wpidentity.js
-
If you want to use the storage feature, you'll need to set up the database.
In October 2024, I wrote a brief doc about the history of wpIdentity, its purpose, where it came from , how to explore.
I've been narrating my work in the worknotes.
These docs proved useful at different points in this project.
-
https://github.com/Automattic/wpcom.js/tree/master/docs -- docs for the routines we call
-
https://github.com/Automattic/wp-calypso/tree/trunk/packages/wpcom.js
-
https://github.com/Automattic/wp-calypso/tree/trunk/packages/wpcom.js/docs
I am using this site for testing. https://scripting4.wordpress.com/