luomuqinghan / weibo4j

Automatically exported from code.google.com/p/weibo4j
Other
0 stars 1 forks source link

按照默认说明无法运行OAuth4Code #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. 默认下载weibo4j-oauth2-beta2.1.1.zip,导入eclipse
2. 运行OAuth4Code

提示:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
    at weibo4j.examples.oauth2.OAuth4Code.main(OAuth4Code.java:14)

运行参数应该是什么?

Original issue reported on code.google.com by Fu.Xiang...@gmail.com on 28 Jan 2013 at 9:03

GoogleCodeExporter commented 8 years ago
同问。。

Original comment by linlux...@gmail.com on 28 Jan 2013 at 10:00

GoogleCodeExporter commented 8 years ago
arg0 = app_id
arg1 = app_key

Original comment by Czih...@gmail.com on 20 Feb 2013 at 12:18

GoogleCodeExporter commented 8 years ago
改成这样:BareBonesBrowserLaunch.openURL(oauth.authorize("code","",""));

Original comment by lovelyC2...@gmail.com on 23 Apr 2013 at 2:54