Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add SSL Proxy support for Glass Mirror API Java Sample
* Subscribes to notifications on the user's timeline.
public static Subscription insertSubscription(Credential credential, String callbackUrl,
// Rewrite "" to "" as a workaround for
// http://b/6909300.
callbackUrl = callbackUrl.replace("", "");
// add ssl proxy
callbackUrl = "" + callbackUrl;
Subscription subscription = new Subscription();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment