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
|
|
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?
|
|
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,
|
|
@1baxter1
Did you mean:
catalog/view/theme/shoppica2/template/common/footer.tpl @line78?
Best,
Dieter
|
|
@1baxter1
it works like a charm sir.
@dieter
yep you got the right path.
thanks all.
|
|
Great!
Thanks for the fix 1baxter1!
|
|
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
??
|
|
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,
|
|
@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&count=<?php echo $footerInfo['twitter_tweets']; ?>"></script>
I’m using shoppica2
-
This reply was modified 4186 days ago by Dieter.
|
|
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/
|
|
Scrub that! It’s working, hurrah.
Blinding, many thanks for helping, much appreciated.
Kev
|
|
many thanks guys, great work!
|
|