added method to retrieve heartbeats, needs to be tested

This commit is contained in:
Giulia
2018-06-08 12:39:37 +02:00
parent 59aaba9b63
commit caff07bc5b
5 changed files with 38 additions and 33 deletions

View File

@@ -13,14 +13,5 @@ public class OAuth2ClientCredentials {
/** Domain name in the "Callback URL". */
public static final String DOMAIN = "127.0.0.1";
public static void errorIfNotSpecified() {
if (API_KEY.startsWith("Enter ") || API_SECRET.startsWith("Enter ")) {
System.out.println(
"Enter API Key and API Secret from http://www.dailymotion.com/profile/developer"
+ " into API_KEY and API_SECRET in " + OAuth2ClientCredentials.class);
System.exit(1);
}
}
}