Are you already following the second Twitter account (i.e.
schoolsvhunger) from your logged in Twitter user? The suggestions will
only show you up to 2 Twitter users you don't currently follow, which
is why you have the option to specify up to 7 (1 via and up to 6
related).

-jonathan

On Feb 22, 8:28 am, KennyB <kenny...@gmail.com> wrote:
> Hi,
>
> When I share my page with the related url param as
> 'schoolsserve:Schools Fight Hunger', I am asked if I want to follow
> schoolsserve after sharing the suggested text.
>
> When I only change the related url param to be 'schoolsvhunger:Schools
> Fight Hunger' (no other changes), I am not asked if I want to follow
> schoolsvhunger after sharing the suggested text.
>
> The code I'm using is below; shown with the 'non-working'
> schoolsvhunger related param in play.
>
> Any ideas why this wouldn't work? Would it be some kind of privacy
> setting that schoolsvhunger has set?
>
> <div id="custom-tweet-button" class="socialicon">
>         <?php
>                 $text = JText::_('SCHOOL PROFILE HEADER TWITTER TEXT');
>                 $related = 'schoolsvhunger:Schools Fight Hunger';
> //              $related = 'schoolsserve:Schools Fight Hunger';
>                 $twitterurl = 
> 'http://twitter.com/share?url='.rawurlencode($url).
>                         '&related='.rawurlencode($related).
>                         '&text='.rawurlencode($text);
>         ?>
>         <a href="<?php echo $twitterurl; ?>" target="_blank"
> rel="nofollow">Tweet</a>
> </div>
>
> The a tag generated by the above is:
>
> <a rel="nofollow" target="_blank" href="http://twitter.com/share?
> url=http%3A%2F%2Fdev.schoolsfighthunger.org%2Fschool%2F2000463-
> albertville-elementary.html&amp;related=schoolsvhunger%3ASchools
> %20Fight%20Hunger&amp;text=My%20school%20joined%20%40schoolsvhunger
> %20to%20%23fighthunger%21%20Make%20sure%20your%20school%20is%20taking
> %20part-join%20the%20fight%21">Tweet</a>
>
> Any help greatly appreciated.
>
> Thanks
> Kenn

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to