User Tools

Site Tools


java:miningthesocialweb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
java:miningthesocialweb [2014/01/27 22:44]
rlunaro
java:miningthesocialweb [2014/12/24 10:42] (current)
Line 49: Line 49:
                    
         cb.setDebugEnabled(true)         cb.setDebugEnabled(true)
-            .setOAuthConsumerKey(""​) +            .setOAuthConsumerKey("​HERE-GOES-YOUR-CONSUMER-KEY") 
-        .setOAuthConsumerSecret(""​) +        .setOAuthConsumerSecret("​HERE-GOES-YOUR-CONSUMER-SECRET") 
-        .setOAuthAccessToken(""​) +        .setOAuthAccessToken("​HERE-GOES-YOUR-ACCESS-TOKEN") 
-        .setOAuthAccessTokenSecret(""​);​+        .setOAuthAccessTokenSecret("​HERE-GOES-YOUR-ACCESS-TOKEN-SECRET");
           ​           ​
         tf = new TwitterFactory(cb.build());​         tf = new TwitterFactory(cb.build());​
Line 110: Line 110:
 { {
  
-    GeoPlanet g = new GeoPlanet(""​);​+    GeoPlanet g = new GeoPlanet("​PUT-HERE-YOUR-PROJECT-CONSUMER-KEY");
     PlaceCollection places = g.getPlaces("​Spain"​);​     PlaceCollection places = g.getPlaces("​Spain"​);​
  
java/miningthesocialweb.txt · Last modified: 2014/12/24 10:42 (external edit)