SSO / Transient Key Question
I'm trying to develop a plugin for WordPress site that auto creates a discussion on my vanilla forum based on a news article feed. I've implemented an API and can pull posts, categories, etc...but I'm having trouble with POST operations and creating discussions due to SSO or Transient Keys. This a server side operation that does not "login" to the forums so therefor there is no SSO or Transient Key, is there another way I can authenticate with a created user to start a new discussion? I know the vanilla forums plugin for WP works in a similiar way, so I've looked through its code but it all seems to based on more of a client side operation with commenting and such.
Any help or brief insights you guys can give would be great.
Thanks
Best Answer
-
Kasper Vanilla Staff
Vanilla API was built for 2.1 - Logger integration is still a WIP though so feel free to remove these lines https://github.com/kasperisager/VanillaAPI/blob/master/settings/class.hooks.php#L114-L115 if it doesn't currently work.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
6
Answers
One, experimental way, include this http://vanillaforums.org/addon/api-application
There was an error rendering this rich post.
Thanks, the signature based auth looks like what I need and seems very simple to implement
The Vanilla API is definitely a way to go here - it's still undergoing development, but I don't have any more major changes planned for v0.1.0.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Does the Vanilla API support 2.1 B1? I downloaded the master from your site and uploaded the api folder to my applications folder. It says I need to install "Logger" before I can enable the application, which I have the basic Logger plugin (if this is what it is referring to). I know I'm probably just missing something small but I couldn't find any mention of dependencies on your website.
Thanks!
Vanilla API was built for 2.1 - Logger integration is still a WIP though so feel free to remove these lines https://github.com/kasperisager/VanillaAPI/blob/master/settings/class.hooks.php#L114-L115 if it doesn't currently work.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Awesome...thanks alot!