account linking: The agent returned an empty TTS - actions-on-google

I define the account linking properties for french.
It works correctly using french (canada): the response after invoking my app is: " Il semble que votre compte The Keys ne soit pas encore associé. "
But when using french (france), The response in the simulator is: " The agent returned an empty TTS. "
What is the reason of that ?

In my case it wasn't related to the account linking feature.
My server was simply unavailable (ERR_CONNECTION_TIMED_OUT).

Related

Youtube API v3 PHP - TAgs order changed when using VideoSnippet->setTags(array)

When we upload a video to Youtube Studio using the PHP API, the tags order are changed.
This is the string, which we explode with "," before assigning to VideoSnippet->setTags(array)
ZinkiaTV,dibujos,pocoyo,dibujos animados,pato,caricaturas,pocoyo en español,nina,pocoyo en español nuevos capítulos,dibujos infantiles,elly,dibujos animados infantiles en español,videos para niños,dibujos animados completos en español,capítulos completos,dibujos animados para niños,dibujos animados en español,pocoyo y nina,dibujos animados para bebes,dibujos para niños,loula,videos de pocoyo,pocoyo youtube,videos para dormir,caricaturas para niños
After uploading the video, Youtube Studio show this TAGs order
ScreenShot_YoutubeStudio_Tags
I have checked the source code of the API, but I think the order is changed when the data is received by the server.
Is this a bug? Thanks in advance

How to send form data to an API - Windev 24

I'm trying to build a simple application on Windev24 and I can't find the right code to send data with a post method to an API I built with Lumen framework. If I test the API via Postman, everything works fine. Here a screenshot of Postman window:
I tried this code:
//MaReq est un restRequête
LaRéponse est un restRéponse
MaReq.URL="https://mywonderfulapi.ch/record"
//I need to find the way to join parameters here...
MaReq.Méthode=httpPost
LaRéponse=RESTEnvoie(MaReq)
SI ErreurDétectée ALORS
Erreur(HErreurInfo(hErrComplet))
SINON
info(LaRéponse.Contenu)
Info(UTF8VersChaîne(LaRéponse.Contenu))
rep = JSONVersVariant(LaRéponse.Contenu)
info(rep)
FIN
I can correctly connect to the API (I get the error message I created in case falses parameters were added to the request), but as I can't find the right way to join the needed parameters, I'm at a stop.
I tried to read the documentation and I tried to figure it out by myself but I couldn't find the way to do that.
Could anyone here help me, please?
Thank you in advance
It's Pretty simple you have to specifiy the type of content you want to send to the server by using MaReq.ContentType = {YourContentType}, then the content by using MaReq.content = {YourContent}, so your code should look like this :
//MaReq est un restRequête
LaRéponse est un restRéponse
MaReq.URL="https://mywonderfulapi.ch/record"
MaReq.ContentType = //yourContentType
MaReq.Content = // YourContent
MaReq.Méthode=httpPost
LaRéponse=RESTEnvoie(MaReq)
SI ErreurDétectée ALORS
Erreur(HErreurInfo(hErrComplet))
SINON
info(LaRéponse.Contenu)
Info(UTF8VersChaîne(LaRéponse.Contenu))
rep = JSONVersVariant(LaRéponse.Contenu)
info(rep)
FIN

Azure Bing Web Search api , retrieve metadata

There's any way to get meta-data that's shown on bing website on Bing Web Search api?
I mean, extract from api response (title, connections, industry, location) information like is in website:
The api response only returns snippet info and this meta-data is not returned.
{
"id": "https://api.cognitive.microsoft.com/api/v7/#WebPages.1",
"name": "Foo Bar - Thing - Thing Company | LinkedIn",
"url": "https://es.linkedin.com/in/foo-bar-041756111",
"isFamilyFriendly": true,
"displayUrl": "https://es.linkedin.com/in/foo-bar-041756111",
"snippet": "Ve el perfil de Foo Bar en LinkedIn, la mayor red profesional del mundo. Foo tiene 2 empleos empleos en su perfil. Ve el perfil completo en LinkedIn y descubre los ...",
"dateLastCrawled": "2018-05-02T07:20:00.0000000Z",
"language": "es"
}
This information seems that it's not returned by API and there's no parameter to add this information in responses right now, tested on API v7.0.

Completed orders on Woocommerce don't send e-mail message to customer

I do not get any e-mails after the order is completed. I have read through many support threads and tried to fix it by myself but it does not work. I have even tested with this plugin: https://wordpress.org/plugins/wp-smtp/ – I get messages with or without a specified server.
I don’t know if it makes any difference but I copied the template file for this email message and changed the message to:
<p><?php printf( __( 'Hej! Din beställning på %s har blivit slutbehandlat.</br></br> Tusen tack och tusen grattis till att du köpt utbildningen Tänk dig fri! Detta är en av de viktigaste investeringarna i dig själv som du kan göra. Jag hoppas att utbildningen kommer ge dig allt det du längtar efter!<br/><br/>Här är en länk till ett videoklipp jag vill att du kollar på innan du börjar studera kapitel 1.<br/><br/>Ljudfilerna till boken finner du här.<br/><br/>Tänk dig fri boken skickas vanligen till dig inom 2-5 arbetsdagar. Dina beställningsdetaljer finns längst ner i detta meddelande.<br/><br/>Många varma lyckönskningar,<br/>Susanna<br/><br/>', 'woocommerce' ), get_option( 'blogname' ) ); ?></p>
This template is on my child-theme folder inside of woocommerce/emails. For what matters I – as a customer – have never received any message and yes, I have checked my spam box.
I got it! The issue was being caused by the fact that the woocommerce e-mail sender had an email address that did not match with the domain. I changed the e-mail address and now everything works perfectly.
Hope this might help anyone else!

Classic ASP - Replace unicode characters from Facebook json feed

I'm working on an old classic asp site. We are importing Facebook feeds with the Graph API from Facebook. All done by importing the json feed.
In the Graph API Explorer from Facebook all characters in the feed look OK.
However when I import or show the contents of the feed on the screen I get something like this:
Tra le province di Modena e Reggio Emilia, ai piedi delle prime colline appenniniche, c\u2019\u00e8 una terra speciale. Resa speciale dai suoi abitanti che hanno saputo trasformarla in energia creativa. Parallela alla romana via Emilia che attraversa tutta l\u2019Emilia Romagna c\u2019\u00e8 un\u2019altra strada che da Maranello\u2026
If I use this tool (converter) (where it says "Converts Unicode Entities to Unicode Text") to convert the string to normal text I get normal text:
Tra le province di Modena e Reggio Emilia, ai piedi delle prime colline appenniniche, c’è una terra speciale. Resa speciale dai suoi abitanti che hanno saputo trasformarla in energia creativa. Parallela alla romana via Emilia che attraversa tutta l’Emilia Romagna c’è un’altra strada che da Maranello…
How can I achieve this with classic ASP?