Gmail的最后一项活动 [英] Gmail's Last activity
本文介绍了Gmail的最后一项活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从gmail的上一个帐户活动页面获取数据:
问题是我不知道如何进行身份验证才能访问此页面。我想我应该使用OAuth协议,但不知道详细信息。
我想使用C#
解决方案
请看下面的页面:
您必须通过发布到此URL来获取身份验证令牌:
https://www.google.com/accounts/ClientLogin
发布数据格式必须如下:
& Email =< email_address> ;& Passwd =< password>& accountType = HOSTED& service = apps
p>
How can I get data from gmail's last account activity page:
This information is available under address: https://mail.google.com/mail/?ui=2&ik=SOME_ACCOUNT_ID&view=ac
The problem is I don't know how to authenticate to access this page. I suppose I should use OAuth protocol somehow, but don't know details.
I would like to use C#
Does anyone have some tips ?
解决方案
Take a look at the following page:
You basically have to obtain an Authentication Token by Posting to this URL:
https://www.google.com/accounts/ClientLogin
The posting data format has to be as follows:
&Email=<email_address>&Passwd=<password>&accountType=HOSTED&service=apps
Pete
这篇关于Gmail的最后一项活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文