The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Twitter feed problem

View previous topic View next topic Go down

Solved Twitter feed problem

Post by Ramdaman on Thu Aug 28, 2014 6:39 pm

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/


Last edited by Ramdaman on Fri Aug 29, 2014 12:13 am; edited 1 time in total
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Twitter feed problem

Post by Ange Tuteur on Thu Aug 28, 2014 7:42 pm

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 )
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.
avatar
Ange Tuteur
Forumaster

Male Posts : 13172
Reputation : 2868
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Twitter feed problem

Post by Ramdaman on Thu Aug 28, 2014 9:02 pm

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.
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Twitter feed problem

Post by Ange Tuteur on Thu Aug 28, 2014 11:39 pm

Where is this "Tutorial" you used ?
avatar
Ange Tuteur
Forumaster

Male Posts : 13172
Reputation : 2868
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Twitter feed problem

Post by Ramdaman on Thu Aug 28, 2014 11:40 pm

avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Twitter feed problem

Post by Ange Tuteur on Thu Aug 28, 2014 11:47 pm

This goes into the widget :
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)
avatar
Ange Tuteur
Forumaster

Male Posts : 13172
Reputation : 2868
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Twitter feed problem

Post by Ramdaman on Thu Aug 28, 2014 11:51 pm

This is the code I put it.

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.
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Twitter feed problem

Post by Ange Tuteur on Fri Aug 29, 2014 12:11 am

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.
avatar
Ange Tuteur
Forumaster

Male Posts : 13172
Reputation : 2868
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Twitter feed problem

Post by Ramdaman on Fri Aug 29, 2014 12:15 am

That works. SmileThank you.

(Might want to update that Tips & Tricks section, you might get more of these kind of threads lol)
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 97
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Twitter feed problem

Post by Ange Tuteur on Fri Aug 29, 2014 12:21 am

You're welcome

Topic archived

Have a great day. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13172
Reputation : 2868
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum