[twitter-dev] Is there documents about the values returned by the API?

2011-01-16 Thread AmaiSaeta
Hello, Twitter peaple.

Is there documents about the value returned by the API?
I want something more to the 
http://apiwiki.twitter.com/w/page/22554664/Return-Values
.
That's lacked some values, and hard to read.
For example...
*listed_count, show_all_inline_media, coordinates. and more more
more information is missing.
*Which is informations included in Timeline Resources?
*How many bits status id? user id too?
*What are the possible values for lang? 'en' for English? What's
value mean French?
Though I want material where informations like there is described
systematically and in detail.

Sincerely,

-- 
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] my clients signed in without interference from the server.

2011-01-16 Thread Ahmad Musa
hi all,
can I know if my client is signed in to his twitter account from my
client application. this is the only thing needed for me to allow my
client to write my database.
so when my client requests for a write operation, what parameters I
need from client to authorize the write using twitter api.

if my client is logged in to twitter then its allowed to write the
database, else the request will be rejected.

-- 
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] European/French POIs results returned are very poor !!

2011-01-16 Thread fvisticot
I'm evaluating POIs with Twitter.
It seems that results returned by Twitter for french/european
countries are very poor.
Any idea/improvements planed ?

Thank you for your help.

-- 
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] Re: Annotations! Annotations! Annotations!

2011-01-16 Thread joepwro

We also have some really cool features waiting in the wings.  Really
looking forward to annotations being released.


On Jan 14, 9:09 pm, Marc Fawzi marc.fa...@gmail.com wrote:
 Hey Twitter people,

 Are Annotations ready yet? Did I miss the announcement?

 Some of us have been working on applications that will enhance the Twitter 
 ecosystem and we are awaiting the release of this feature.

 A side question is will it be supported across all Twitter API e.g. search, 
 anywhere 'data' param, stream, etc?

 Thanks

 Marc

 Envoyé de mon iFoam

-- 
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] Lists on Twitter

2011-01-16 Thread don master
Hey Twitter  Fan people,
They Are some way to ADD more LIST rows or Delete some,

from the one are List.

Any can share some  Twitter API  for this ?

Thanks friends.

Manny G

-- 
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


Re: [twitter-dev] Is there documents about the values returned by the API?

2011-01-16 Thread Piers Karsenbarg
Someone might correct me here, but I think that's the old documentation. Try
http://Dec.twitter.com/doc instead.
On 16 Jan 2011 17:07, AmaiSaeta amaisa...@gmail.com wrote:
 Hello, Twitter peaple.

 Is there documents about the value returned by the API?
 I want something more to the
http://apiwiki.twitter.com/w/page/22554664/Return-Values
 .
 That's lacked some values, and hard to read.
 For example...
 *listed_count, show_all_inline_media, coordinates. and more more
 more information is missing.
 *Which is informations included in Timeline Resources?
 *How many bits status id? user id too?
 *What are the possible values for lang? 'en' for English? What's
 value mean French?
 Though I want material where informations like there is described
 systematically and in detail.

 Sincerely,

 --
 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 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] Incorrect signature

2011-01-16 Thread Thomas
Hello,

I am trying to get the recent mentions with the twitter api but it
returns the error Incorrect signature.

Here's my PHP code:

?php
$time = time() + 10800;

$target = urlencode(http://api.twitter.com/1/statuses/mentions.xml?
count=20);
$oauth_consumer_key = urlencode();
$oauth_nonce = urlencode(sha1($time));
$oauth_signature_method = urlencode(HMAC-SHA1);
$oauth_token = urlencode();
$oauth_time = $time;
$oauth_version = urlencode(1.0);

$result = GET$targetoauth_consumer_key%3D$oauth_consumer_key
%26oauth_nonce%3D$oauth_nonce%26oauth_signature_method%3D
$oauth_signature_method%26oauth_timestamp%3D$oauth_time%26oauth_token
%3D$oauth_token%26oauth_version%3D$oauth_version;

$consumer_token_secret = urlencode();
$oauth_token_secret = urlencode();
$combine = $consumer_token_secret$oauth_token_secret;

$signature = urlencode(base64_encode(hash_hmac(sha1, $result,
$combine, true)));

$auth = OAuth oauth_nonce=\$oauth_nonce\, oauth_signature_method=
\$oauth_signature_method\, oauth_timestamp=\$oauth_time\,
oauth_consumer_key=\$oauth_consumer_key\, oauth_token=\$oauth_token
\, oauth_signature=\$signature\, oauth_version=\$oauth_version\;

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, http://api.twitter.com/1/statuses/
mentions.xml?count=20);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($curl, CURLOPT_HTTPHEADER, array(Authorization: $auth));
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $signature);

$result = curl_exec($curl);
echo $result;
?

Am I not generating the signature correctly?

-- 
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] Twilter - PHP5 Twitter Streaming Consumer with OAuth

2011-01-16 Thread webjay
Hello.

For my work with Gignal http://gignal.com/ I needed a streaming consumer 
supporting OAuth, and since I couldn't find any, I made one whith lots of 
inspiration from Phirehose.
https://github.com/webjay/Twilter

Let me know if it's useful for you?

Jacob

-- 
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] stream_socket_client with STREAM_CLIENT_ASYNC_CONNECT yields 401

2011-01-16 Thread webjay
I should probably ask in a Php group, but I'll try here first, in case it's 
Twitter related.

When I connect with stream_socket_client('tcp://stream.twitter.com:443') I 
get a 401 unauthorized error immediately.
If I use fopen('https://stream.twitter.com/1/statuses/sample.json') I get a 
connection.

The reason I would like to use stream_socket_client is to be able to use 
STREAM_CLIENT_ASYNC_CONNECT.

Is this not possible?

-- 
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] iPhone twitter client

2011-01-16 Thread Rob Wilson - SpikyOrange
Hi,

I'm planning on integrating with Twitter on the iPhone, I'm surprised
that unlike Facebook, Twitter does not provide a standard Objective-C
library, but I have found MGTwitterEngine.

The problem is, the setup instructions are not that clear, then I
found 'by accident' the Twitter-OAuth-iPhone project on GitHub, which
seemed to at least bring up the Twitter authorisation page, but now
fails with 401 errors and doesn't give me the opportunity to remove
the token (hey, it's just a demo project, so I guess they don't handle
it).

The concern I have, is that when I registered my application, it
wanted a callback URL, from what I understand I want the value OOB
to be used, for our-of-band / Pin-code authorisation.  I tried
entering OOB and then it complained that I must enter a valid URL.

I then deleted the URL completely and then the application was
accepted, but I don't know whether a blank / missing URL == OOB?

When I try to edit the application, it doesn't give me the option to
add a URL.

So, when programming for an iPhone, do you enter 'Application', or
'Web'.  If the latter, what URL should be entered and can you edit it
afterwards?

Does anyone have advice on setting up MGTwitterEngine, or Twitter-
OAuth-iPhone?

For something that 'sounds' simple, it has taken me over a day of
playing to get nowhere productive.  However, I am new to iPhone
develop, oAuth and the libraries mentioned above.

I am planning on documenting what I learn on my blog afterwards, to
help other iPhone developers.  Feel free to follow me on Twitter, as I
disucss the progress on my podcast BitBanterPC.

Many thanks to anyone who can answer those questions.

Regards,
Rob.

-- 
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