Latest tweets widget

This topic has been marked as not resolved.

UPDATE

We’ve made some research about the problem and here is the situation:

The current code (the one that is not working) is a part from the old deprecated Twitter API (version lower than 1).

We will now submit a patch based on Twitter API v1 – you can check this topic for more information.

Unfortunately the solution is only temporary, because sometime in March 2013, Twitter will drop the support for v1 of the API as well.

The next version of the API will require authorization, for everybody who wants to get information from twitter (tweets, msgs etc.), so we will need to rework the twitter widget a bit. The new widget will be available with the next Shoppica update.

——————-

For everybody experiencing problems with the Twitter widget, we are working on a quick fix and will upload it in a couple of days.

You can subscribe to this topic and will be emailed, once we bring some update. Please, do not open new topics. Thanks!

Best regards,
ThemeBurn team

October 11, 2012 at 6:10 pm #14262

Hi i’m wondering what exactly has went wrong. I have a few sites with twitter widgets which don’t seem to be working. Have twitter changed something?

October 11, 2012 at 6:34 pm #14263

Found the problem heres a fix for people who cant wait: in view>common>footer.tpl find this line:

<script type="text/javascript" src="http<?php if(isHTTPS()) echo 's'?>://twitter.com/statuses/user_timeline/

just change the url to this and it works:

<script type="text/javascript" src="http<?php if(isHTTPS()) echo 's'?>://api.twitter.com/1/statuses/user_timeline/

thanks,

October 11, 2012 at 7:06 pm #14264

@1baxter1

Did you mean:
catalog/view/theme/shoppica2/template/common/footer.tpl @line78?

Best,
Dieter

 Dieter
October 12, 2012 at 11:08 am #14280

@1baxter1

it works like a charm sir.

@dieter
yep you got the right path.

thanks all.

October 12, 2012 at 12:21 pm #14287

Nice one!
Thanks…

 Dieter
October 12, 2012 at 12:47 pm #14290

Great!

Thanks for the fix 1baxter1!

October 12, 2012 at 12:55 pm #14292

cool…great. Thank you.

October 12, 2012 at 12:59 pm #14293

Hi Dieter

Strange, I’m pretty sure I’ve changed footer.tpl exactly as advised:

Found:
<script type="text/javascript" src="httpisHTTPS) echo ‘s’?>://twitter.com/statuses/user_timeline/

Changed to:
<script type="text/javascript" src="http://api.twitter.com/1/statuses/user_timeline/

and breaks website
??

October 12, 2012 at 1:10 pm #14294

Pleased you all got it working, kmcgee73 you need to change it too:

<script type="text/javascript" src="http://api.twitter.com/1/statuses/user_timeline/

Remember to include the <?php if part.

Your orignal code look a bit different im not sure if it changed on shoppica 2 as im using the first version, sorry.

thanks,

October 12, 2012 at 1:16 pm #14295

@kpmcgee73

This is the complete line like i have it in footer.tpl at line 78

<script type="text/javascript" src="http<?php if($tbData->isHTTPS) echo 's'?>://api.twitter.com/1/statuses/user_timeline/<?php echo $footerInfo['twitter_username']; ?>.json?callback=twitterCallback2&amp;count=<?php echo $footerInfo['twitter_tweets']; ?>"></script>

I’m using shoppica2

  • This reply was modified 4208 days ago by  Dieter.
 Dieter
October 12, 2012 at 2:09 pm #14300

thanks both for helping!

But still no luck. I’ve replace with your code <script… to but I just get text appearing in the widget area. Any typos?

I’m doing this with file: /catalog/view/theme/shoppica2/template/common/footer.tpl

I’ve put on my dev area, you can see the source code here:

http://www.dev2.vintageheirloom.com/

:-(

October 12, 2012 at 5:53 pm #14303

Scrub that! It’s working, hurrah.

Blinding, many thanks for helping, much appreciated.

Kev

October 12, 2012 at 6:10 pm #14304

many thanks guys, great work!

October 12, 2012 at 8:08 pm #14305

Thanks for the fix

October 12, 2012 at 9:53 pm #14306
Viewing 15 posts - 1 through 15 (of 36 total)
  • The topic ‘Latest tweets widget’ is closed to new replies.