开发者

Javascript OAuth and Opera Link

I am writing a Chrome extension that synchronizes with Opera Link, but I keep struggling with OAuth. I have tried three different OAuth libraries, but they don't work.

These libraries are:

  • http://oauth.googlecode.com/svn/code/javascript/
  • https://github.com/bytespider/jsoauth
  • http://code.google.com/chrome/extensions/tut_oauth.html

All of them can't fetch client tokens. I have only read-only access when I use the first and insert the tokens.

"javascript oauth opera link" doesn't give results in Google.

(EDIT:) My question is: has anyone had luck in using Opera Link in pure JavaScript, or does anyone know what the problem is?

EDIT2: this doesn't work for me: application that uses OAuth and javascript. I can use it if I get 'token' and 'tokenSecret' with the Python API deb开发者_StackOverflow社区ugger, but only read-only. I can't for example add new bookmarks.


I just put my Opera Link JavaScript library up at https://github.com/ChaosinaCan/OperaLink.js. (It's the one emanchado linked to)

I've only tested some of the bookmark functions so far, so please tell me if anything doesn't work.


Hey there! The other day I made an Opera extension work with the Opera Link API: https://github.com/emanchado/Javascript-OAuth-experiments

Have a look at both the extension code itself, and https://github.com/emanchado/Javascript-OAuth-experiments/blob/master/oauthtest.js (also oauthtestget.js for a GET request example).


The Opera Link API introduction article gives information and specifically a debugger python script. I might help to understand your code issues.

It would help also if you could provide a bit of code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜