Results 1 to 3 of 3

Thread: How to talk to a API?

  1. #1
    Join Date
    Feb 2009
    Posts
    143
    Thanks
    8

    Default How to talk to a API?

    How to talk to a API without opening a webpage?

    All I need my app to do, talk to the API, say twitter, get the information that I need, say the latest 20 tweets and display the information in the UI that i have created.

    can it be done in c++ or should i use php to accomplish it?

    What is the difference in the dependencies if i use php rather than c++?

    I am trying to built a cliet that can work with a api, like http://www.twhirl.org

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to talk to a API?

    Please don't open various threads on one topic. And the answer you have already: QNetworkAccessManager.
    PHP is a bad decision unless you are working on a web page with a server you control. If you developing an QUI/Qt based application stay with Qt/C++. (If you are using PHP you must ensure that the user have a server running (localhost) with php-support...)

    EDIT: With a simple forum search for "twitter" you have could found this post. Look at the sources and study it!
    Last edited by Lykurg; 23rd March 2009 at 19:46. Reason: updated contents

  3. #3
    Join Date
    Feb 2009
    Posts
    143
    Thanks
    8

    Default Re: How to talk to a API?

    thanks for the info.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.