示例代码:[code]OAuthService service = new ServiceBuilder()
.apiKey(YOUR_API_KEY)
.apiSecret(YOUR_API_SECRET)
.build(LinkedInApi20.instance());[/code]5.3.0 的更新内容主要是修复和添加各种 API:
fix Salesforce API (thanks to https://github.com/jhorowitz-firedrum)
remove 'final' from methods in OAuth[10a|20]Service to allow mocking it
fix Pinterest API (thanks to https://github.com/sschwieb)
add Yahoo2 API (thanks to https://github.com/javatestcase)
fix Tumblr urls, convert to https (thanks to https://github.com/highthunder)
fix: allow spaces in scope param in OAuth2Accesstoken response
add required param version to VK ВКонтакте (http://vk.com/) urls
源码下载:https://github.com/scribejava/scribejava/releases/tag/scribejava-5.3.0
使用[code]