授权后在Google+信息流上共享 [英] Sharing on Google+ Stream after authorisation

查看:52
本文介绍了授权后在Google+信息流上共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试从我的应用程序发布在用户墙上.甚至我也对Facebook,Linkedin,Twitter感到满意.我所做的是从这些应用程序正确授权后,我最终保存了其令牌.而且,如果他们在我的应用程序中发布,我确实将其发布在他们的墙上.

I have been trying to post on user's wall from my application. Even I am completed with facebook, Linkedin, Twitter. What I did is after authorising properly from these application I finally saved its token. And with that I did to post it on their wall if they are posting on my application.

现在继续,我希望在Google+上也一样.尽管我已获得Google+授权,并已将令牌保存在数据库中.如何在Google+的墙上或我的个人资料页面上发帖.或用Google术语来说,我该如何分享用户流.

Now continuing with that I want same with Google+. Though I am completed with Google+ authorisation and saved token in my DB. How can I post on Google+ on their wall or on my profile page with it. Or In google terms how can I share on user's stream.

我试图在页面上创建框,然后单击要在G +上发布的弹出窗口.我想要的是,如果用户注册后,它会自动转到其信息流,而不是按照他们提供的常规按钮单击的方式.

I have tried to create box on my page and on clicking that popup window open to post on G+. What I want is if user is registered than It automatically goes to its stream not in conventional button clicking way what they have provided.

有可能吗?

推荐答案

Google+ API不允许您对用户流进行写访问.

The Google+ API does not give you write access to the user's stream.

您应该使用: -应用活动: https://developers.google.com/+/features/app-activities 您想在Google上展示用户的操作 -共享插件: https://developers.google.com/+/web/share/-发起分享 -互动帖子: https://developers.google.com/+/features/interactive-posts 用户发起的共享,并在移动平台上使用明确的号召性用语和深层链接

Instead you should use: - app activities: https://developers.google.com/+/features/app-activities if you want to surface the user's actions across Google - Share plugin: https://developers.google.com/+/web/share/ for user-initiated sharing - Interactive posts: https://developers.google.com/+/features/interactive-posts for user-initiated sharing with an explicit call-to-action and deeplinking on mobile platforms

这篇关于授权后在Google+信息流上共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆