Skip to content

Commit 228829d

Browse files
committed
Removed included API keys and secrets from examples
1 parent c947de6 commit 228829d

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/Foursquare2Example.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class Foursquare2Example {
1717

1818
public static void main(String[] args) {
1919
// Replace these with your own api key and secret
20-
String apiKey = "FEGFXJUFANVVDHVSNUAMUKTTXCP1AJQD53E33XKJ44YP1S4I";
21-
String apiSecret = "AYWKUL5SWPNC0CTQ202QXRUG2NLZYXMRA34ZSDW4AUYBG2RC";
20+
String apiKey = "your client id";
21+
String apiSecret = "your client secret";
2222
OAuthService service = new ServiceBuilder()
2323
.provider(Foursquare2Api.class)
2424
.apiKey(apiKey)

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/FoursquareExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class FoursquareExample {
1717
public static void main(String[] args) {
1818
OAuthService service = new ServiceBuilder()
1919
.provider(FoursquareApi.class)
20-
.apiKey("FEGFXJUFANVVDHVSNUAMUKTTXCP1AJQD53E33XKJ44YP1S4I")
21-
.apiSecret("AYWKUL5SWPNC0CTQ202QXRUG2NLZYXMRA34ZSDW4AUYBG2RC")
20+
.apiKey("your client id")
21+
.apiSecret("your client secret")
2222
.build();
2323
Scanner in = new Scanner(System.in);
2424

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/FreelancerExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public static void main(String[] args) {
2323
OAuthService service = new ServiceBuilder()
2424
.provider(FreelancerApi.Sandbox.class)
2525
.signatureType(SignatureType.QueryString)
26-
.apiKey("7f5a168a0bfdbd15b4a9ea2a969661c731cdea56")
27-
.apiSecret("7bb8961b94873802f1c5344f671a518e087f5785")
26+
.apiKey("your client id")
27+
.apiSecret("your client secret")
2828
.scope(SCOPE)
2929
.build();
3030
Scanner in = new Scanner(System.in);

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/LinkedInExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public class LinkedInExample {
1818
public static void main(String[] args) {
1919
OAuthService service = new ServiceBuilder()
2020
.provider(LinkedInApi.class)
21-
.apiKey("CiEgwWDkA5BFpNrc0RfGyVuSlOh4tig5kOTZ9q97qcXNrFl7zqk-Ts7DqRGaKDCV")
22-
.apiSecret("dhho4dfoCmiQXrkw4yslork5XWLFnPSuMR-8gscPVjY4jqFFHPYWJKgpFl4uLTM6")
21+
.apiKey("your client id")
22+
.apiSecret("your client secret")
2323
.build();
2424
Scanner in = new Scanner(System.in);
2525

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/MeetupExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class MeetupExample {
1717
public static void main(String[] args) {
1818
OAuthService service = new ServiceBuilder()
1919
.provider(MeetupApi.class)
20-
.apiKey("j1khkp0dus323ftve0sdcv6ffe")
21-
.apiSecret("6s6gt6q59gvfjtsvgcmht62gq4")
20+
.apiKey("your client id")
21+
.apiSecret("your client secret")
2222
.build();
2323
Scanner in = new Scanner(System.in);
2424

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/TwitterExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public class TwitterExample {
1616

1717
public static void main(String[] args) {
1818
OAuthService service = new ServiceBuilder().provider(TwitterApi.class)
19-
.apiKey("6icbcAXyZx67r8uTAUM5Qw")
20-
.apiSecret("SCCAdUUc6LXxiazxH3N0QfpNUvlUy84mZ2XZKiv39s")
19+
.apiKey("your client id")
20+
.apiSecret("your client secret")
2121
.build();
2222
Scanner in = new Scanner(System.in);
2323

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/XingExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class XingExample {
1717
public static void main(String[] args) {
1818
OAuthService service = new ServiceBuilder()
1919
.provider(XingApi.class)
20-
.apiKey("097ccfd3ef25a1cb6d75")
21-
.apiSecret("e43364b2afd5d92f2ec28951a75bd8075f9cc221")
20+
.apiKey("your client id")
21+
.apiSecret("your client secret")
2222
.build();
2323
Scanner in = new Scanner(System.in);
2424

scribejava-apis/src/test/java/com/github/scribejava/apis/examples/YahooExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public class YahooExample {
1818
public static void main(String[] args) {
1919
OAuthService service = new ServiceBuilder()
2020
.provider(YahooApi.class)
21-
.apiKey("dj0yJmk9TXZDWVpNVVdGaVFmJmQ9WVdrOWMweHZXbkZLTkhVbWNHbzlNVEl5TWprd05qUTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD0wMw--").
22-
apiSecret("262be559f92a2be20c4c039419018f2b48cdfce9")
21+
.apiKey("your client id").
22+
apiSecret("your client secret")
2323
.build();
2424
Scanner in = new Scanner(System.in);
2525

0 commit comments

Comments
 (0)