[twitter-dev] why it doesn't work: GET statuses/retweets/:id

2010-09-23 Thread yuzhujiutian
hi all:

my url, prm(parameters) as following:

char *tweet_retweets_response = NULL;

debug trace: tweet_retweets_url = 
http://api.twitter.com/1/statuses/retweets/25293485057.xml
debug trace: tweet_retweets_prm =
oauth_consumer_key=**oauth_nonce=UuG5RuilHNOJWdbcM5iSoauth_signature_method=HMAC-
SHA1oauth_timestamp=1285241013oauth_token=**oauth_version=1.0oauth_signature=gSAo
%2BWTyQauzludvPD%2Fz8UrhfDw%3D

and call:
tweet_retweets_response = oauth_http_post(tweet_retweets_url,
tweet_retweets_prm);

and the response is:
debug trace: tweet_retweets_response = ?xml version=1.0
encoding=UTF-8?
statuses type=array
/statuses

and then return to my web, the tweet(status_id = 25293485057) doesn't
be retweeted, why?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Which API to use to achieve tweet, and who can help share the demo code? (c++, liboauth)

2010-09-20 Thread yuzhujiutian
hi, all

Which API to use to achieve tweet, and who can help share the demo
code? (c++, liboauth)

I have achieved to obtain access token of the code(c++, liboauth), but
in achieving the tweet, always prompt failure, who can send a demo
program to me, the best is based on the liboauth, c++.

And if someone on the oauth authentication of the request token,
direct token(Obtain User Authorization), access token code debug it
fails, we can share, I can share my aouth under the authentication of
the demo program.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] who can share the tweet program(c++, liboauth)

2010-09-19 Thread yuzhujiutian
hi, all

who can share the next tweet program(c++, liboauth)?

I have achieved to obtain access token of the code(c++, liboauth), but
in achieving the tweet, always prompt failure, who can send a demo
program to me, the best is based on the liboauth, c++.

And if someone on the oauth authentication of the request token,
direct token(Obtain User Authorization), access token code debug it
fails, we can share, I can share my aouth under the authentication of
the demo program.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] twitter api oauth c++ demo source code

2010-09-15 Thread yuzhujiutian
twitter api oauth c++ demo source code

1.2 OAuth Authentication Flow
Figure 1-1 OAUTH AUTHENTICATION FLOW v1.0a
(Please refer to the attached
gridtwit_client_oauth_demo_src_0.1.0.tar.gz file
Demo_Description.doc)


1.3 Token parameter
The following token parameter description is based on the program
“gridtwit_client_oauth_demo\liboauth-0.8.9\tests\gridtwit” test
results obtained.

Code revision
liboauth-0.8.9, add File  liboauth-0.8.9\tests\gridtwit.c, and hand-
modify the file liboauth-0.8.9\tests\Makefile.am, liboauth-0.8.9\tests
\Makefile.in

Test environment
Red Hat Enterprise Linux Server release 5.3, and free web proxy.

Test method
run the program “gridtwit_client_oauth_demo\liboauth-0.8.9\tests
\gridtwit”. If there is no the program file gridtwit_client_oauth_demo
\liboauth-0.8.9\tests\gridtwit, can run the program files
gridtwit_client_oauth_demo\liboauth-0.8.9\compile, then run make
check. If there are other questions, please contact the author.

Application info
Application Name: gridtwit
Application Website: http://twitter.com/gridtwit
Application Type: Client
Default Access type: Read  Write

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] please help, problem about twitter api

2010-09-06 Thread yuzhujiutian
now, i develop a twitter client in oauthlib_0.8.9 and c/c++, but it's
always prompt me to login when i code to tweet.

code info:

input_param_url: http://twitter.com/status/update

input_param_search_string:
authenticity_token=c8a742bea4dffc0589132233ec9d61767310383atab=indexin_reply_to_status_id=in_reply_to=source=display_coordinates=falselat=lon=place_id=status=snsetest20100906update=update



then call the function oauth_http_post2(input_param_url,
input_param_search_string, NULL)

and it returns info is: htmlbodyYou are being a href=http://
twitter.com/login?redirect_after_login=%2Fstatus%2Fupdateredirected/
a./body/html

--
by the way, authenticity_token value comes from last operation of
getting friend_timeline.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en