回答
這裏是加鏈接,谷歌的API: https://developers.google.com/+/api/
&這裏是其中u可以找到共享在谷歌加 http://code.google.com/p/google-api-objectivec-client/wiki/Introduction
現在他們沒有任何API我想他們很快就會介紹我希望能幫到你。 但現在不行。
This似乎不是正確的答案。你必須已經添加它作爲評論 –
幫助您使用Google+分享鏈接的鏈接: https://developers.google.com/+/plugins/share/#sharelink
「共享鏈接適用於本地客戶端應用程序...和 其他人可能無法使用+1或分享按鈕」
的分享對谷歌的職位最簡單的方法是加首先包括在Xcode其GPPShare.h文件,然後用GPPShareDelegate 延長.h文件然後在IBAction爲方法
id<GPPShareBuilder> shareBuilder = [[GPPShare sharedInstance] shareDialog];
// This line will manually fill out the title, description, and thumbnail of the
// item you're sharing.
[shareBuilder setTitle:@"Share" description:@"sharing" thumbnailURL:[NSURL URLWithString:@"http://25.media.tumblr.com/tumblr_m9p3n1vJmZ1rexr16o1_400.jpg"]];
[shareBuilder setContentDeepLinkID:@"rest=1234567"];
[shareBuilder open];
寫這個代碼,同時也實現GPPShareDelegate方法,它是有幫助的,以檢測成功共享
- (void)finishedSharing:(BOOL)shared
{ if (shared) {
NSLog(@"User successfully shared!");
} else {
NSLog(@"User didn't share.");
}
當我實現這種方法..我有一個控制檯輸出,我必須先登錄。我怎樣才能做到這一點 – Dalvik
我INTEGRA Google加分享。請參閱此代碼。 https://www.dropbox.com/s/o0bwtzgbpobsjkq/Share.zip?dl=0
對於雨燕3.0
import SafariServices
然後在共享按鈕添加以下代碼委託
<SFSafariViewControllerDelegate>
使用本
var urlComponents = URLComponents(string:"https://plus.google.com/share")
let queryItem = URLQueryItem(name: "url", value: "https://myexamplepagetoshare.com")
urlComponents?.queryItems = [queryItem]
let url = urlComponents?.url
let safariVC = SFSafariViewController(url: url!)
safariVC.delegate = self
self.present(safariVC, animated: true, completion: nil)
這是一個簡單的G +份額現已上市。
- 1. Google plus無法分享?
- 2. 通過Facebook,LinkedIn和Google Plus共享
- 3. Google plus登錄xcode共享擴展
- 4. 分享帖子後,Google Plus計數不會增加
- 5. 將信息分享到Facebook(牆上),Twitter(狀態),Google plus
- 6. C#:如何在Google Plus上分享YouTube視頻?
- 7. 從iPhone訪問AFP分享?
- 8. Google plus url sharing
- 9. Google plus sharing
- 10. Android Google plus
- 11. iPhone 6 plus技術分辨率
- 12. 在Google+上分享
- 13. Google Plus API Nuget包
- 14. 在Google plus上分享鏈接以及標題,圖片和說明
- 15. 如何在G +分享按鈕左側設置Google plus計數器
- 16. 博客發佈者在Google Plus上分享了錯誤的標題
- 17. iPhone分享按鈕
- 18. 如何從Google Plus中嵌入視頻?
- 19. 如何使用google-plus-ios-sdk-1.7.1 sdk登錄google-plus?
- 20. 如何測試Google Plus API(Google Plus測試帳戶)?
- 21. 「Google憑證無效」Google plus with request/plus/v1/people/me
- 22. 將文字分享到Google+?
- 23. 分享Google+按鈕問題
- 24. Google電子表格分享
- 25. Google Glass - 分享圖片
- 26. 如何將Google plus登錄到我的Iphone應用程序中?
- 27. 通過Google plus或Google登錄
- 28. Google Plus授權使用Symfony2
- 29. httplib2.CertificateHostnameMismatch in Google plus API
- 30. 澄清Google Plus API配額
[Google plus api for posting on wall like facebook](http://stackoverflow.com/questions/7857812/google-plus-api-for-posting-on-wall-like-facebook) –