Hello9876 / micrsoft-translator-php-wrapper

Automatically exported from code.google.com/p/micrsoft-translator-php-wrapper
0 stars 0 forks source link

Authorization not supported #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi,
I'm trying to use your library. Even in the provided example page, I get this:

Warning: 
file_get_contents(https://api.datamarket.azure.com/Data.ashx/Bing/MicrosoftTrans
lator/v1/GetLanguagesForTranslation?$top=100&$format=json): failed to open 
stream: HTTP request failed! HTTP/1.1 401 The authorization type you provided 
is not supported. Only Basic and OAuth are supported in 
/mnt/Dati/Sorgenti/Web/ztranslate/resources/plugin/ZTranslate/bing_translate/cla
ss/MicrosoftTranslator.class.php on line 157

Any idea?

Original issue reported on code.google.com by kknu...@gmail.com on 12 Dec 2012 at 12:38

GoogleCodeExporter commented 9 years ago
LOL, I used the wrong account_key.. It's working correctly now :P

Original comment by kknu...@gmail.com on 12 Dec 2012 at 12:41

GoogleCodeExporter commented 9 years ago
great

Original comment by sajini.r...@gmail.com on 21 Jan 2013 at 4:14

GoogleCodeExporter commented 9 years ago

Original comment by renji....@gmail.com on 21 Jan 2013 at 4:17