Deprecated API

filippo96
New Member
5 0 0

Hello to everyone,

 

Yesterday I was testing the speed of my site (decozyhome.com) with the google tool "PageSpeed Insight" and I noticed that, in the best practice section, I had a red warning about API usage telling me that I use a Deprecated API. 

I attach the screen of the "Error" here:

api obsolete.jpg

Do you know anything I can do to solve this?

 

I noticed this error after I've installed an extension to manage Whatsapp conversations, the extension is this one developed by Pushdaddy: https://apps.shopify.com/whatsapp-chat-for-support?locale=it&surface_detail=whatsapp-chat-button&sur... .

 

You think that uninsalling this extension and installing a new, better one will solve this API probelm?

 

Thank you very much for your help, it'll be really appreciated.

Replies 6 (6)

Liam
Shopify Staff
2731 299 769

Hi Filippo96,

 

I think the best approach might be to contact the app developer with this issue by email at: bydbest@gmail.com and ask them to update their app if it's causing this issue. 

 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

filippo96
New Member
5 0 0

Hello Liam, thank you I will write to them immediatly.

One last little thing, are you able to confirm that the error is caused by the App developed by Pushadaddy.com?

 

Thanks,

FS

Liam
Shopify Staff
2731 299 769

Hi Filippo96,

 

I can't confirm that the deprecation warning is caused by the app you mentioned, but you can check that with the app dev.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

filippo96
New Member
5 0 0

Hi Liam,

 

Yes I already contacted them, and they told me it's not their fault.

 

So, how can I know what App or behaviour is causing the deprecated API message?

 

Thanks,

FS

Liam
Shopify Staff
2731 299 769

Hi again Filippo96,

 

From looking into this a bit further it seems like the deprecated API is being called on a web pixel manager script file that is part of Shopify. I'll connect with our internal devs on this - however the warning that PageSpeed insights does not flag this issue in the performance section on the report, but in the general best practices section. So there should not be any negative performance impact that customers would experience when browsing your site, caused by using `XMLHttpRequest`. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

filippo96
New Member
5 0 0

Here I am Liam,

 

Ok thank you for your investigation, really appreciated it.

 

So, I'm safe that my customer won't have bad experience with my site.

For the solution (you talked about connecting with Shopify devs) will you give me a feedback when this script will be fixed?

 

Thnaks a lot, have a good evening,

FS