mms-core
 
Picture
  know about Qt app can tweet through QTwitterClient site
http://qt-mobility.blogspot.com/search/label/QTwitterClient

and i downloaded it and configure it in my app

here is the steps to use it in UR app

1-download QTwitterClient
 u can download it from GIT or Directy

2-add cpp and h files to ur project

3-include QTwitterClient in ur app


#include"qtwitterclient.h"

4-make instance from QTwitterClient

  QTwitterClient*twitter=newQTwitterClient(this);

    twitter->setLogin(login);  //login is QString has username

    twitter->setPassword( password); //password is QString has password of twitter account

    twitter->tweet("im tweeting through my new #Qt app,7dl");


if u have error do this
Go to QtwitterClient.cpp


1.       Delete
19 #include <QtNetwork>


2.       If u have error in debug
comment lines (78,81,90)


Go to QtwitterClient.h

1.       Replace
#include <QNetworkAccessManager>
with
#include"QtNetwork/QNetworkAccessManager"


2.       Replace
#include <QNetworkReply>


With
#include"QtNetwork/QNetworkReply"


Go to ur project.pro

Add network to Qt like

QT       += core gui\

        network

u can download my edited QtwitterClient
here

thx to
Hendy Irawan for this great APIs

ENJOY



Leave a Reply.