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&related=schoolsvhunger%3ASchools
%20Fight%20Hunger&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