Google+ share url: what parameters does it use?

后端 未结 4 1362
醉酒成梦
醉酒成梦 2020-12-08 10:26

I want to make like on Stackoverflow. I do not whant +1 button (it takes some time for loading and all page loading are little slower). I\'ve looked on source p

4条回答
  •  猫巷女王i
    2020-12-08 10:59

    Maybe the following page about sharing interactive posts will be helpful: https://developers.google.com/+/web/share/interactive

    I tested it already with the parameter "prefilled". This parameter allows you to define a prefilled text for the google+ share via get parameter:

    https://plus.google.com/share?url=my_url&prefilltext=my_prefilled_text

    So have a deeper look at the interactive posts page in order to find other possible get parameters.

提交回复
热议问题