eion/purple-hangouts

f9f5032acb6b
Parents 228ab8afbbee
Children 6cf906e84334
Point to @dequis useful YouTube video about how to auth
--- a/libhangouts.c Thu Oct 20 20:32:14 2016 +1300
+++ b/libhangouts.c Thu Oct 20 20:27:43 2016 +1300
@@ -343,10 +343,10 @@
hangouts_oauth_refresh_token(ha);
} else {
//TODO get this code automatically
- purple_notify_uri(pc, HANGOUTS_API_OAUTH2_AUTHORIZATION_CODE_URL);
- purple_request_input(pc, _("Authorization Code"), HANGOUTS_API_OAUTH2_AUTHORIZATION_CODE_URL,
- _ ("Please paste the Google OAuth code here"),
- NULL, FALSE, FALSE, NULL,
+ purple_notify_uri(pc, "https://www.youtube.com/watch?v=hlDhp-eNLMU");
+ purple_request_input(pc, _("Authorization Code"), "https://www.youtube.com/watch?v=hlDhp-eNLMU",
+ _ ("Please follow the YouTube video to get the OAuth code"),
+ _ ("and then paste the Google OAuth code here"), FALSE, FALSE, NULL,
_("OK"), G_CALLBACK(hangouts_authcode_input_cb),
_("Cancel"), G_CALLBACK(hangouts_authcode_input_cancel_cb),
purple_request_cpar_from_connection(pc), ha);