Je dois intégrer yahoo api dans mon application. Quelqu'un peut-il me fournir les étapes pour cela? Comme nous avons intégré yahoo, nous obtenons un tokenkey de yahoo et après avoir entré la clé, nous entrons dans l'application. Est-ce que quelqu'un a le processus pour entrer directement dans l'application après avoir le login yahoo.Yahoo API Intégration?
4
A
Répondre
2
Essayez ce lien Débutant:
1
Voici un sous-ensemble de code en utilisant la partie XML de Yahoo! Réponses. J'avais écrit ceci pour écrire ma propre application de réponses.
NSString *question = @"Who won the 1975 World Series?";
NSString *address = @"http://answers.yahooapis.com/AnswersService/V1/questionSearch?appid=iQuestion&query=";
NSString *request = [NSString stringWithFormat:@"%@%@",address,question];
NSURL *URL = [NSURL URLWithString:request];
NSError *error;
NSString *XML = [NSString stringWithContentsOfURL:URL encoding:NSASCIIStringEncoding error:&error];
// Extract current answer the 'dirty' way
NSString *answer = [[[[XML componentsSeparatedByString:@"<ChosenAnswer>"]
objectAtIndex:1] componentsSeparatedByString:@"</ChosenAnswer>"] objectAtIndex:0];
NSLog(@"%@", answer);
L'extraction XML est très brut, et si vous la meilleure alternative est d'utiliser un XMLParser ou XMLDocument plutôt que de faire une extrapolation à cordes. C'est un peu ghetto
Questions connexes
- 1. Yahoo BOSS API intégration avec OAuth
- 2. Intégration de Yahoo Calendar en utilisant CalDav API
- 3. Yahoo Messanger API
- 4. Yahoo Boss API Pagination
- 5. Yahoo Finance API
- 6. Yahoo! Finance API DOW
- 7. Yahoo! API de voyage
- 8. yahoo réponses API
- 9. Intégration google, calendrier yahoo dans l'application rails
- 10. Yahoo BOSS API: Recherches associées
- 11. yahoo finances api en java
- 12. Yahoo Réponses API + php Scraper
- 13. Python URL Demande Yahoo API
- 14. Contacts Yahoo api asp.net C#
- 15. Yahoo Messenger API Pour PHP
- 16. API Yahoo Cartes de l'Inde
- 17. API Yahoo Calendar en Java
- 18. Intégration d'Orkut api
- 19. Yelp API Android Intégration
- 20. intégration Google place API
- 21. Linked api Intégration
- 22. php api intégration ebay
- 23. Authorize.net ARB API Intégration Question
- 24. Intégration Symfony2 et API Google
- 25. Yahoo API BOSS Python Library Erreur
- 26. J'ai besoin d'importer contact yahoo via api
- 27. Météo Forcasts de yahoo météo api
- 28. besoin d'aide: google, yahoo, hotmail contacts api
- 29. yahoo finance api renvoie réponse vide
- 30. Utiliser yahoo api avec Oauth ruby