simonspa / twitcurl

Automatically exported from code.google.com/p/twitcurl
0 stars 0 forks source link

Error code 68 #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using twitcurl methods
2.
3.

What is the expected output? What do you see instead?

<?xml version="1.0" encoding="UTF-8"?><errors>  <error code="68">The Twitter 
REST API v1 will soon stop functioning. Please migrate to API v1.1. 
https://dev.twitter.com/docs/api/1.1/overview.</error></errors>

What version of the product are you using? On what operating system?

Please provide any additional information below.

This just started happening. What do I need to do to change?

Original issue reported on code.google.com by hepplewh...@gmail.com on 12 Jun 2013 at 6:30

GoogleCodeExporter commented 9 years ago
Twitter API v1.0 (which is used by this librairie) is now depreciated. The 
creator of twitcurl have to upgrade it but I know not whether it will...
There is no C++ librairie that use Twitter API V1.1 at the moment, tahnks 
Twitter --"

Original comment by toine52...@gmail.com on 13 Jun 2013 at 7:51

GoogleCodeExporter commented 9 years ago
Thanks for that.

There does, however, seem to be a little known c++ twitter lib supporting 1.1.

https://github.com/Neozaru/LibTwitter-Core

Original comment by hepplewh...@gmail.com on 13 Jun 2013 at 9:13

GoogleCodeExporter commented 9 years ago
Did you test it? Does it work well?

Original comment by toine52...@gmail.com on 13 Jun 2013 at 1:27

GoogleCodeExporter commented 9 years ago
I've compiled it successfully but I'm still getting to grips with the API (had 
to generate the documentation). I'll let you know how I get on.

Original comment by hepplewh...@gmail.com on 13 Jun 2013 at 2:25

GoogleCodeExporter commented 9 years ago
Well, I've managed to download a JSON. I'd give it a go (it took me ages to 
build on ubuntu- you need to run autoconf -fi then ./configure then make then 
install).

Original comment by hepplewh...@gmail.com on 13 Jun 2013 at 2:41

GoogleCodeExporter commented 9 years ago
Thankyou, you save my life.

But the autoconf says this:
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE 
?!

Original comment by toine52...@gmail.com on 14 Jun 2013 at 9:09

GoogleCodeExporter commented 9 years ago
I found! I got like this:
autoreconf -i
autoconf
./configure
make
sudo make install

Original comment by toine52...@gmail.com on 14 Jun 2013 at 10:28

GoogleCodeExporter commented 9 years ago
Can you parse the json string? I'm struggling with jsoncpp.

Original comment by hepplewh...@gmail.com on 14 Jun 2013 at 11:42

GoogleCodeExporter commented 9 years ago
yes I can, I use Gt5 with QJson; :)
But I am unable to authenticate me and so I do not get Json file ...
Did you succeed?

Original comment by toine52...@gmail.com on 17 Jun 2013 at 7:25

GoogleCodeExporter commented 9 years ago
in twitcurl.cpp changed 
m_eApiFormatType( twitCurlTypes::eTwitCurlApiFormatXml )
to
m_eApiFormatType( twitCurlTypes::eTwitCurlApiFormatJson )

in twitcurl.h all URL's changed from */1/* to */1.1*

and it seems works again.

Original comment by navi.1...@gmail.com on 17 Jun 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Hello all,
twitcurl is updated to v1.1 twitter APIs with HTTPS support. Example 
application is updated as well.

I apologize for the delay :)

Original comment by swatkat....@gmail.com on 22 Jun 2013 at 7:06