通过android和iPhone应用程序集成雅虎、谷歌和openid?
我正在为iPhone和android设计一个应用程序,其中我必须集成facebook、twitter、雅虎、gmail和openId。我已经整合了facebook和twitter,但雅虎、gmail和openId怎么办?如何通过应用程序登录并获取用户信息 请告诉我一个实现这个的方法。任何教程都可能有所帮助通过android和iPhone应用程序集成雅虎、谷歌和openid?,iphone,android,openid,yahoo,Iphone,Android,Openid,Yahoo,我正在为iPhone和android设计一个应用程序,其中我必须集成facebook、twitter、雅虎、gmail和openId。我已经整合了facebook和twitter,但雅虎、gmail和openId怎么办?如何通过应用程序登录并获取用户信息 请告诉我一个实现这个的方法。任何教程都可能有所帮助 谢谢 要集成gmail,此url可能会对您有所帮助 解析响应以获取GUID // Now use the GUID to get profile info. DefaultH
谢谢 要集成gmail,此url可能会对您有所帮助 解析响应以获取GUID
// Now use the GUID to get profile info.
DefaultHttpClient httpClient = new DefaultHttpClient();
String strUrl = "http://social.yahooapis.com/v1/user/"+ strGUID +"/profile?format=json";
HttpGet request = new HttpGet(strUrl);
consumer.sign(request);
HttpResponse response = httpClient.execute(request);
解析响应并回答njoy:@Trgaglia与well men一起工作…@Panache你有没有找到解决方案…如何在android应用程序中登录yahoo…@J_K是的,我使用oauth来集成yahoo和gmail。我将很快发布一些示例代码。我现在正在旅行,所以…@Panache thanx等待您的回复…我将等待您的帖子…@Panache yahoo示例对我不起作用。
// Now use the GUID to get profile info.
DefaultHttpClient httpClient = new DefaultHttpClient();
String strUrl = "http://social.yahooapis.com/v1/user/"+ strGUID +"/profile?format=json";
HttpGet request = new HttpGet(strUrl);
consumer.sign(request);
HttpResponse response = httpClient.execute(request);