![Forum des Objets Communicants et Solutions pour les Libérer...](https://i.servimg.com/u/f68/09/01/24/64/nabazt10.png)
Forum des Objets Communicants et Solutions pour les Libérer...
|
| | API not working from my phone? | |
| | Auteur | Message |
---|
kokeshi Lapin nain
![Lapin nain Lapin nain](https://i.servimg.com/u/f30/09/01/19/67/minina10.gif)
![kokeshi](https://2img.net/u/1714/33/94/82/avatars/1379-77.jpg)
Localisation : Bristol, UK Nabaztag : kokeshi Nbr de messages : 2 Carottes : 6686
![API not working from my phone? Empty](https://2img.net/i/empty.gif) | Sujet: API not working from my phone? Ven 7 Avr 2006 - 14:56 | |
| Hi all, wondered if I could pick your collective brains about something.
I wrote a little Python script for my phone (Nokia 6680) to change my rabbit's ear position using an API call like http://www.nabaztag.com/vl/FR/api.jsp?sn=XXXXXXXXXXXX&token=XXXXXXXXXX&idapp=XXXXXXXX&posleft=8&posright=8 and all was well, worked fine. Tried it again this morning and nothing doing, phone couldn't connect to the Nabaztag server. I registered for an appliction ID and tried again, with the URL seen above, and it worked once but then - no more!
My phone's net connection is fine, and the URL works when I try it in a browser. I was wondering if there was anyone who could tell me whether the API was ignoring phone-like requests, or if it would be better to identify myself as a particular user agent, or if the server was erratic at the moment? Anyone have any ideas? All suggestions/advice very gratefully received.
Thank you very much! | |
| ![Aller en bas](https://2img.net/i/empty.gif) | | marfab Cuniculussologue
![Cuniculussologue Cuniculussologue](https://2img.net/r/ihimizer/img85/7506/nabzdoctorbi0.gif)
![marfab](https://2img.net/u/1714/33/94/82/avatars/768-11.jpg)
Age : 53 Localisation : Noisy le Grand Nabaztag : Petitbrou, Landry (V1), Scrubs (V2) Nbr de messages : 8128 Carottes : 7042
![API not working from my phone? Empty](https://2img.net/i/empty.gif) | Sujet: Re: API not working from my phone? Ven 7 Avr 2006 - 15:45 | |
| Hi,
I dont' think that API knows if it's a phone or a web browser like IE. At this link http://marfab.club.fr/nabaztag/wap.zip you will have a WAP site in order to change ears positions and send messages to your Rabbit.
It may help you.
See you | |
| ![Aller en bas](https://2img.net/i/empty.gif) | | kokeshi Lapin nain
![Lapin nain Lapin nain](https://i.servimg.com/u/f30/09/01/19/67/minina10.gif)
![kokeshi](https://2img.net/u/1714/33/94/82/avatars/1379-77.jpg)
Localisation : Bristol, UK Nabaztag : kokeshi Nbr de messages : 2 Carottes : 6686
![API not working from my phone? Empty](https://2img.net/i/empty.gif) | Sujet: Re: API not working from my phone? Ven 7 Avr 2006 - 16:31 | |
| That's a great link - thank you! I was trying to use an internet connection, rather than WAP, as I'm not on the French mobile networks . Ideally I'd be using SMS but not an option at the moment I guess.
I think I solved my problem, by the way - was trying to write to an empty file, I think, so clearing it away seems to have solved things.
Thank you for your help! wasn't expecting a response for ages.
cheers, | |
| ![Aller en bas](https://2img.net/i/empty.gif) | | Contenu sponsorisé
![API not working from my phone? Empty](https://2img.net/i/empty.gif) | Sujet: Re: API not working from my phone? ![API not working from my phone? Icon_minitime](https://2img.net/i/fa/icon_minitime.gif) | |
| |
| ![Aller en bas](https://2img.net/i/empty.gif) | | | API not working from my phone? | |
|
Sujets similaires | ![+](https://2img.net/i/empty.gif) |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |
|