[patch] Twitter widget new API (v.1.1)

ThemeBurn SupportForumsGeneralWhat’s new?Archive[patch] Twitter widget new API (v.1.1)


A few days ago Twitter retired their old API, which allowed users to easily integrate their timeline updates on their websites with the possibility to style the tweets.

We have prepared a patch that will allow all Shoppica owners to continue to use their “Latest tweets” widget.

Update for Opencart

This patch is for the following Shoppica versions:

Shoppica 2 – versions between 2.1.0 and 2.2.2 including.
Shoppica 1 – versions between 1.0.13 and 1.0.18 including.

The patch is included in Shoppica 2.2.3 and up (1.0.19 and up respectively).

Update for WordPress

A patch for the WordPress version is also attached. You just need to extract the patch contents in the theme folder. WordPress version supports only the second integration option. If you want to use the default User Timeline widget, you can use the built-in Text widget.

The new integration method gives these two options:

Default User Timeline widget provided from Twitter

If you use this option, you will have to stick to the default widget styling provided from Twitter. The pros are that this method is easier and faster.

1) Go to Your Twitter account > Settings > Widgets > Create New > User timeline

2) Fill in your Twitter username, check the other options and then create the widget

3) Get the widget embed code and use it in Shoppica 2 CP > Footer > Twitter > Default widget

Custom Twitter application

Unfortunately this option won’t work on a localhost.

1) Create a Twitter developer account.

2) Create a new application and get your Consumer key, Consumer secret, Access token and Access secret.


Before uploading patch files, be sure to compare screen.css.php (for OpenCart version) from the patch archive with the one from your server, in case you have modified it.

Resave your theme settings, after you upload the patch (OpenCart).

For those that have problems with the Facebook likebox width, be sure to use the “Like box” widget type from the theme CP.

ThemeBurn team

June 18, 2013 at 5:35 pm #24521

Got it installed but I have a couple errors. Please see attached screenshots.

June 19, 2013 at 6:37 am #24530

Twitter fix for shoppica html ?

June 19, 2013 at 1:01 pm #24567


we have re-uploaded the patches, which should fix the ‘Timestamp out of bounds error’. Just download the patch again and apply it to your opencart installation.

About the seccond issue of yours – you are using an older version of Shoppica and OpenCart, which causes these notices. In order to fix them you should open tb_themes\shoppica2\admin\language\english\theme.lang.php and add the following two lines at the end:

$_['label_footer_twitter_button']        = 'Follow button';
$_['label_footer_twitter_button_text']   = 'Follow button text';

ThemeBurn team

June 19, 2013 at 3:05 pm #24570

In the end I’ve decided to go for the first option. It all seems to be working nicely except that the Facebook widget needs nudging down a little bit as it is covering up the title

My site:


Could you please tell me if there is a way to do this?

June 19, 2013 at 7:01 pm #24586
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
June 21, 2013 at 4:10 pm #24619

I have a problem whit colors, see attached image.

June 22, 2013 at 1:24 pm #24653


Even I am facing the same color problem.All of twitter updates have red background and are bold.It was working fine and the change was all of sudden.

Any solutions team TB?


June 22, 2013 at 6:39 pm #24663

Hi for somereason i get ERRORS on i am using Shoppica 2,

on Frontend i get:

Notice: Undefined index: twitter_integration in /home/stylex/public_html/tb_themes/shoppica2/catalog/plugin/FooterInfoPlugin.php on line 27

after i replace all the files and compare the css file to mine as i did some modifications.

Also in backend i get a BLANK page when i click edit on the shoppica2 module?

June 23, 2013 at 9:38 pm #24693


We will need ftp access, so we can check.

You can use hidepost to share private information with the support staff.

ThemeBurn team

June 24, 2013 at 1:10 pm #24719

@TB Support,

Hi please find details below:

  • This reply was modified 2249 days ago by  aaron1988.
  • This reply was modified 2249 days ago by  aaron1988.
June 24, 2013 at 1:23 pm #24721

I have the same problem as @aaron1988


June 24, 2013 at 5:04 pm #24739

Hi TB,

Fixed it :) what i did was just went through all FILES MANUALLY and backed the old files up and then just uploaded the shoppica2 tb_themes, tb_extensions, system/engine/ file and then do the catalog file as well :)


If you send me an email at: admin@bluegeeks.co.uk i will fix this for you now :)


June 24, 2013 at 6:16 pm #24746

Hi Themeburn,

I have a small problem with this update. I have installed the patch and Twitter is working now, but I have problems with Facebook – lots of undefined variables. Please find attached the screenshots.

June 24, 2013 at 11:56 pm #24750

The links in our Twitter app are all broken because there is an extra period (.) at the end of each of them. Also, some of the Tweets are highlighted in red and I’m not sure why.

My website is: http://www.preciousbedding.com

Can this be fixed?

June 26, 2013 at 9:07 pm #24806
Viewing 15 posts - 1 through 15 (of 36 total)
  • The topic ‘[patch] Twitter widget new API (v.1.1)’ is closed to new replies.