Tag: 谷歌加

如何在同一个appdelegate.swift中同时使用google +和facebooklogin

我的应用程序使用谷歌+login和我的appdelegate.swift我有: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Override point for customization after application launch. var configureError: NSError? GGLContext.sharedInstance().configureWithError(&configureError) assert(configureError == nil, "Error configuring Google services: \(configureError)") GIDSignIn.sharedInstance().delegate = self return true } func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool { return GIDSignIn.sharedInstance().handleURL(url, sourceApplication: sourceApplication, annotation: […]

用户必须login才能使用本地共享框

我想在我的应用程序中添加谷歌加上财产的份额。 我在谷歌的Web控制台注册客户端应用程序,并获得客户端ID。 在我的viewDidLoad函数中: – (void)viewDidLoad{ CGRect rect = self.view.bounds; rect.size.height = rect.size.height – 50; _postContentUIWV = [[UIWebView alloc] initWithFrame:rect]; [_postContentUIWV loadHTMLString:selectedPostCD.content baseURL:nil]; [self.view addSubview:_postContentUIWV]; self.navigationController.navigationBar.tintColor = [UIColor whiteColor]; GPPSignIn *signIn = [GPPSignIn sharedInstance]; signIn.shouldFetchGooglePlusUser = YES; // signIn.shouldFetchGoogleUserEmail = YES; // Uncomment to get the user's email // You previously set kClientId in the "Initialize […]

获取谷歌加用户的朋友

在Google+ API中有一种search公共朋友的方法。 但是,我没有看到获取用户朋友的方法。 有没有办法让Google+用户的朋友?

Google plus API,用于在Facebook上发布信息

我一直在寻找谷歌教程在google plus上发布一些文本。 但似乎没有。 我也尝试通过谷歌提供的文档为Mac和iPhone的开发人员,但无法find任何解决我的问题。 另外,有关如何让用户login到谷歌加帐户的信息很less。 我不知道该怎么做的用户login,我必须使用一些GTLObject或使用UIWebView像foursquare用户login。 以下是我经历的文档列表。 http://code.google.com/p/google-api-objectivec-client/wiki/Introduction http://code.google.com/p/google-api-objectivec-client/wiki/BuildingTheLibrary http://code.google.com/p/gtm-oauth2/