Uses 0K of libraries. Click here for Pure Java version (1641L/11K).
1 | // lib 1013889 // twitter4j OLD |
2 | lib 1400209 // twitter4j core |
3 | lib 1400210 // twitter4j async |
4 | |
5 | import twitter4j.*; |
6 | import twitter4j.conf.*; |
7 | |
8 | static Twitter twitter4j_init() { |
9 | ConfigurationBuilder cb = new ConfigurationBuilder(); |
10 | cb.setDebugEnabled(true) |
11 | .setOAuthConsumerKey(defaultTwitterKey()) |
12 | .setOAuthConsumerSecret(defaultTwitterSecret()) |
13 | .setOAuthAccessToken(defaultTwitterOAuthToken()) |
14 | .setOAuthAccessTokenSecret(trim(loadSecretJavaXFile("twitter-oauth-secret.txt")); |
15 | |
16 | ret new TwitterFactory(cb.build()).getInstance(); |
17 | } |
Began life as a copy of #1013888
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013893 |
Snippet name: | twitter4j_init |
Eternal ID of this version: | #1013893/5 |
Text MD5: | 53505fce34b70f8515d1398a55e0ee48 |
Transpilation MD5: | e02dd47daa271326422179147389dbe5 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-20 05:07:04 |
Source code size: | 568 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 344 / 457 |
Version history: | 4 change(s) |
Referenced in: | [show references] |