Adding a title / text to a G+ share link

Discussion in 'Programming' started by qwikad.com, Nov 24, 2014.

  1. #1
    Is there a way to add <?php echo $title; ?> to the G+ share link below?

    <a href="https://plus.google.com/share?url=<?php echo $url; ?>">G+</a>
    Code (markup):
    For instance, with Twitter I can do it this way, but I am not sure what G+ is using for the title / text option.

    <a href="http://twitter.com/share?url=<?php echo $url; ?>&text=<?php echo $title; ?>">Twitter</a>
    Code (markup):
    Thanks.
     
    qwikad.com, Nov 24, 2014 IP
  2. shureg

    shureg Active Member

    Messages:
    18
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    80
    #2
    No you can only use it with url and language code
    https://developers.google.com/+/web/share/#sharelink
     
    shureg, Nov 25, 2014 IP