Member
Member
jphilbert   2013-05-12, 15:23
#1

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

Administrator
Administrator
acrylian   2013-05-12, 15:45
#2

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.

Member
Member
sbillard   2013-05-12, 19:11
#3

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.

Member
Member
jphilbert   2013-05-13, 03:30
#4

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.

Administrator
Administrator
acrylian   2013-05-13, 11:38
#5

Let us know. I think there are also a lot of predefined oAuth classes available.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.