Twitter feed problem
2 posters
Page 1 of 1
Twitter feed problem
Hi, I followed the twitter feed problem but all it shows is the title of the widget. Any help would be appreciated, thanks.
If you'd like to check the portal out, please visit http://www.agg-community.com/
If you'd like to check the portal out, please visit http://www.agg-community.com/
Last edited by Ramdaman on August 29th 2014, 6:13 am; edited 1 time in total
Re: Twitter feed problem
Hi,
I am getting a syntax error from your JavaScripts. I am assuming this is what's causing your widget to not work as a syntax error stops all scripts from running.
You have this content in JavaScripts management :
( Modules > javascript codes management )
This is HTML which refers to an external script. It should be added to where HTML formats. ( e.g. widgets, html page, homepage message ) Also the last script tag is cut off at the source.
I am getting a syntax error from your JavaScripts. I am assuming this is what's causing your widget to not work as a syntax error stops all scripts from running.
You have this content in JavaScripts management :
( Modules > javascript codes management )
- Code:
<script src="http://twitter.com/javascripts/blogger.js"type="text/javascript"></script><script src="http://twitter.com/statuses/user_timeline/agamersgaming.json?callback=twitterCallback2&count=1" type="text/javascript"></script><script src="http:
This is HTML which refers to an external script. It should be added to where HTML formats. ( e.g. widgets, html page, homepage message ) Also the last script tag is cut off at the source.
Re: Twitter feed problem
I think added that section to the CSS.
It didn't specify which code goes where in the tutorial so I was confused, I think I still am.
It didn't specify which code goes where in the tutorial so I was confused, I think I still am.
Re: Twitter feed problem
In the Tips & Tricks section, under Widgets.
https://help.forumotion.com/t57903-add-a-twitter-feed-to-your-portal
https://help.forumotion.com/t57903-add-a-twitter-feed-to-your-portal
Re: Twitter feed problem
This goes into the widget :
In the HTML above you must modify this piece to the information which corresponds to your twitter account :
You must also edit this part in the HTML above :
As mentioned :
- Code:
<div class="twitterfeed"><div id="twitter_div" style="margin-left: 35px; padding-top: 3px;"><ul id="twitter_update_list" style=" list-style-image : url(http://hitskin.com/themes/13/34/38/i_icon_minipost_participate.png); font-size: 12px; line-height: 15px;"><li style="padding-top: 3px; padding-left 20px;"> </li></ul></div><p align="right" style="margin-top: 2px; font-size: 11px;">recently twittered on <a href="http://twitter.com/forumotion">Forumotion</a></div><script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script><script type="text/javascript" src="http://twitter.com/statuses/user_timeline/forumotion.json?callback=twitterCallback2&count=1"></script>
In the HTML above you must modify this piece to the information which corresponds to your twitter account :
- Code:
<a href="twitter.com/forumotion">Forumotion</a>
You must also edit this part in the HTML above :
- Code:
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script><script type="text/javascript" src="http://twitter.com/statuses/user_timeline/forumotion.json?callback=twitterCallback2&count=1">
As mentioned :
There are 2 things you have to edit here.
1) - statuses/user_timeline/your twitter account name.json?
* - change the twitter account from forumotion to your twitter account
2) - twitterCallback2&count=1
* - my code only displays your last tweet. if you want the last 2 or 3 you have to change the "count" to your desired number of tweets. (don't go over 5 it doesn't look nice)
Re: Twitter feed problem
This is the code I put it.
Could it be the /user_timeline/agamersgaming.json?, I put agamersgaming because that's the Twitter account.
- Code:
<div class="twitterfeed">
<div id="twitter_div" style="margin-left: 35px; padding-top: 3px;">
<ul id="twitter_update_list" style=" list-style-image : url(http://hitskin.com/themes/13/34/38/i_icon_minipost_participate.png); font-size: 12px; line-height: 15px;">
<li style="padding-top: 3px; padding-left 20px;">
</li>
</ul>
</div>
<p align="right" style="margin-top: 2px; font-size: 11px;">
recently twittered on <a href="https://twitter.com/agamersgaming">AGG</a>
</p>
</div><script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script><script type="text/javascript" src="http://twitter.com/statuses/user_timeline/agamersgaming.json?callback=twitterCallback2&count=2"></script>
Could it be the /user_timeline/agamersgaming.json?, I put agamersgaming because that's the Twitter account.
Re: Twitter feed problem
This doesn't seem to work anymore : http://twitter.com/statuses/user_timeline/agamersgaming.json?callback=twitterCallback2&count=2
There is a better way on twitter :
Go to Profile > Widgets > Create new > User timeline
Fill out the information, then click "Create widget" and copy the provided code to your widget.
There is a better way on twitter :
Go to Profile > Widgets > Create new > User timeline
Fill out the information, then click "Create widget" and copy the provided code to your widget.
Re: Twitter feed problem
That works. Thank you.
(Might want to update that Tips & Tricks section, you might get more of these kind of threads lol)
(Might want to update that Tips & Tricks section, you might get more of these kind of threads lol)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum