Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle plus java starter command-line
    primarykey
    data
    text
    <p>I have downloaded the Google plus java starter project from <a href="https://code.google.com/p/google-plus-java-starter/" rel="nofollow">here</a> I set up maven, created my client_id and client_secret and my api_key and put these keys into the config.properties.</p> <p>Now i started to run the project. the </p> <pre><code>setupTransport() </code></pre> <p>Method seems to work. </p> <p>But if the </p> <pre><code>getProfile() </code></pre> <p>Method is called an Exception is thrown. </p> <p>This is the output:</p> <pre><code>Attempting to open a web browser to start the OAuth2 flow Once you authorize please enter the code here: [entered my Code here] ============== Get my Google+ profile ============== Okt 16, 2012 1:25:10 PM Sample getProfile Schwerwiegend: { "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.", "extendedHelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." } } Exception in thread "main" java.io.IOException: Stream closed at java.util.zip.GZIPInputStream.ensureOpen(Unknown Source) at java.util.zip.GZIPInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at com.google.api.client.http.HttpResponse.parseAsString(HttpResponse.java:464) at Sample.main(Sample.java:45) </code></pre> <hr> <p>EDIT:</p> <p>i dont know what happened, but now it works. I only copy pasted the IDs again, refreshed my project and let eclipse build it again...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload