easyhosting Posted December 11, 2012 Share Posted December 11, 2012 Hi All I would like to know how can i add the twitter feed outside of my WHMCS and have it working. If I add {if $twitterusername} <h2 style="margin-top:30px;">{$LANG.twitterlatesttweets}</h2> <div id="twitterfeed"> <p><img src="[url="http://forum.whmcs.com/view-source:http://niceday-hosting.co.uk/images/loading.gif"]images/loading.gif[/url]"></p> </div> {literal}<script language="javascript"> jQuery(document).ready(function(){ jQuery.post("announcements.php", { action: "twitterfeed", numtweets: 3 }, function(data){ jQuery("#twitterfeed").html(data); }); }); </script>{/literal} all i get is {if $twitterusername} {$LANG.twitterlatesttweets} {literal}{/literal} 0 Quote Link to comment Share on other sites More sharing options...
Strother Posted December 11, 2012 Share Posted December 11, 2012 This will probably work better for you: https://business.twitter.com/optimize/resources/ Specifically, the part entitled "Widgets". 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted December 11, 2012 Author Share Posted December 11, 2012 This will probably work better for you: https://business.twitter.com/optimize/resources/ Specifically, the part entitled "Widgets". Hi yes i looked at that, but thought the WHMCS one would have flowed better into the design as the twitter widget is more of an iframe 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.