Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Twitter OAuth

Twitter OAuth

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vanpivix
    wrote on last edited by
    #1

    I want to do a QML application that can send tweets.
    I've done it before for Android using Twitter4J, and, honestly, I hoped to find something that works in the same way for QML.

    I googled a lot and I find "twitter4qml":http://git.qtquick.me/?p=twitter4qml.git;a=tree;f=src/lib/trends;h=0b61f7558c68f0db02e8825bffabb66db47b665e;hb=c0c24023cae30fe50854da3a19a52cf12ad74196 but I really can't understand how should I use it.

    So, can you link me some projects/tutorials/something that use this library for a QML project or give me some suggestions about what should I do?

    Thanks...

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      the git repository you've posted also contains an "example":http://git.qtquick.me/?p=twitter4qml.git;a=tree;f=examples folder, in there is also "code":http://git.qtquick.me/?p=twitter4qml.git;a=blob;f=examples/statusesfilter/statusesfilter.cpp how the OAuth stuff is done.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vanpivix
        wrote on last edited by
        #3

        Sorry, first time I try to include c++ code to my qml project. What do I have to do? I mean, I've downloaded the src folder but I don't understand what to do now.....

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          in your qml file do this:
          @import TwitterAPI 1.1@
          then have a look at "this":git.qtquick.me/?p=twitter4qml.git;a=blob;f=examples/statusesfilter/2.x/main.qml and see how they use the API.

          and for OAuth do the same think like in "this":http://git.qtquick.me/?p=twitter4qml.git;a=blob;f=examples/statusesfilter/statusesfilter.cpp file.

          To avoid build problems see the "pro file":http://git.qtquick.me/?p=twitter4qml.git;a=blob;f=examples/statusesfilter/statusesfilter.pro.

          Don't just download the src folder, but rather the whole project and build it.
          Then build your project.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved