OAuthServer in Zenphoto

I found this class in Zenphoto is it ONLY for tweeter_news or is it possible to use it to implement Oauth in my plugin with code that seems to be there already.

-------------------------------------------------

Class: OAuthServer
Source Location: /zp-extensions/tweet_news/OAuth.php

Comments

  • acrylian Administrator, Developer
    I would not code dependent on other plugins if possible.

    It might be that this file is not even used. At least it is gone in the 1.4.5 build. Sbillard will know more I guess.
  • As you can see from the comments this library was made to support the twitter REST API. It may well work in other uses, but we really do not know. If you want to use it you can always have your plugin load this file with a require once where needed.
  • I will try it out .. it seems somewhat generic and could work... if it does SWEET ... wont hurt to try and save my self some coding.
  • acrylian Administrator, Developer
    Let us know. I think there are also a lot of predefined oAuth classes available.
Sign In or Register to comment.