回答
这里是加链接,谷歌的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. Google Plus API自定义分享按钮
- 3. iOS Google Plus整合与分享
- 4. Google Plus分享 - 错误图片
- 5. Google Plus分享URL用德语?
- 6. 如何在Google Plus上分享信息?
- 7. Google Plus共享问题
- 8. Google Plus SDK回拨共享
- 9. 通过Facebook,LinkedIn和Google Plus共享
- 10. Google plus登录xcode共享扩展
- 11. Android - 使用Google Plus登录并共享
- 12. 在Google plus中共享私人网址
- 13. google plus plus cordova phonegap
- 14. 分享Google Plus计数器始终显示零
- 15. 成功分享twitter和google plus后回电
- 16. Google Plus在弹出式窗口中分享
- 17. Google plus:分享我的内容后如何获得反馈?
- 18. 将信息分享到Facebook(墙上),Twitter(状态),Google plus
- 19. Google Plus分享按钮显示错误图片
- 20. C#:如何在Google Plus上分享YouTube视频?
- 21. 分享帖子后,Google Plus计数不会增加
- 22. 在Google Plus上分享图片而不使用意图
- 23. 从iPhone访问AFP分享?
- 24. 如何将Google Plus与iPhone SDK集成?
- 25. 从Android分享到Google+
- 26. 使用android sdk在Google Plus上分享照片不是通过共享意图
- 27. Google plus-cmdline-sample
- 28. Google Plus和OpenSocial
- 29. Google plus url sharing
- 30. 黑莓google plus
[Google plus api for posting on wall like facebook](http://stackoverflow.com/questions/7857812/google-plus-api-for-posting-on-wall-like-facebook) –