Re: [twitter-dev] Re: Tweet button and iphone

2011-07-06 Thread Seth Bindernagel

Hi Anajjar:

Sorry we couldn't be more help.

Is it possible that your implementation doesn't support a popup from 
Twitter? If so, there might be a solution that works, but we'd have to 
specifically diagnose why your app is not working. If I can find 
anything that might help your situation, I'll be sure to add it to this 
thread.


Best wishes,

Seth

anaj...@ibs.com.jo wrote:

Because of Lack of support by Twitter and we didn't face any such
issues with Facebook,we had no choice but to remove twitter from all
of our projects and use Facebook instead,Thanks to everyone who tried
to help .



--
Seth Bindernagel | @binder 
https://twitter.com/intent/follow?screen_name=binder


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


Re: [twitter-dev] Tweet button and iphone

2011-06-30 Thread Seth Bindernagel

Hi Anajjar,

I've been trying to click on your site to test your example, but the 
site is not responding. However, when a user clicks a Tweet Button on a 
site using mobile Safari on the iPhone, a new browser window will open 
with the Tweet intent. If a user is logged in, he can complete that 
intent. If not, he will be prompted to sign in. I just tested this with 
Twitter's main blog at http://blog.twitter.com from an iPhone using iOS 
4.3.3. Users can return to your site by pressing the iOS UI that shows 
all open pages (up to 8) and swiping back to your site.


Hope this helps.

Seth

anaj...@ibs.com.jo wrote:

Hi:

I develop mobile websites and I want to use a tweet button in one of
my pages,since using twitter with a mobile website is the first time
for me I did a test page.

This is my page: http://iphone.internet.com.jo/login.html

When a user visit my website from a device like iphone and click tweet
button,it will show the popup [Share box] as the current page [not as
a popup],if the user doesn't want to login and clicked on cancel then
twitter page should redirect the user back to my page but that wasn't
the result,it redirects the user to twitter homepage.

Is there a solution or any workarounds for this? I want the user to be
able to tweet from iphone without any popups and also be able to
return back to my site if (s)he didn't want to login.



--
Seth Bindernagel | @binder 
https://twitter.com/intent/follow?screen_name=binder


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


Re: [twitter-dev] twaud.io api: anyone manage to get it working?

2011-02-25 Thread Seth Delackner
I have done some more digging around (WireShark is amazing!) and I
have gotten past a big initial hurdle: I was building the signature
base string wrong (building it, then setting more parameters, which
should have been part of the base string in the first place).
As a sanity check, at this point my code can, using xAuth, post
twitter status updates.
But I'm incredibly confused as to what I need to send to twaud.io's
server.  It says x_verify_credentials_authorization should contain the
Authorization header.

That authorization header is built with a base string of

POSThttp[All those oauth_* params and the encoded twaud.io params]

but if the base string is supposed to include all the post form
parameters, x_auth_service_provider and
x_verify_credentials_authorization are form parameters, but I can't
include authorization, since that is defined as something that
contains the output of this whole thing.

So what SHOULD be in the base string's params?  I tried just putting
in everything except the x_verify_credentials_authorization and
x_auth_service_provider and get the very opaque 403 Forbidden / Not
Authorized.

I mean, the account is Authorized by twaud.io and twitter, and we have
an xAuth token from twitter, so that doesn't seem very informative.

Here's a sample base string:

POSThttp%3A%2F%2Ftwaud.io%2Fapi%2Fv2%2Fupload.jsonoauth_consumer_key%3DofEzSNkKNMzu4ANhII5g%26oauth_nonce%3D8BE06737-9C9C-4EB1-A3B7-CDFCDAD7DF13%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1298633580%26oauth_token%3D257264155-voUkUaayPjhrtW4a1Aid2lS2LshC5JDIM9p2LMXO%26oauth_version%3D1.0%26sound%255Bmessage%255D%3DTESTING123

containing POST, then http:// (tried https as well, but http is
helpful while debugging), the all the oauth_* params, then
sound[message].

One thing that jumps out at me is that I'm not sure what to do about
the sound[file] part, as that parameter is a multipart encoded thing,
not just another normal post parameter.  Maybe that has to be part of
the base string?

On Thu, Feb 24, 2011 at 6:43 AM, Matt Harris thematthar...@twitter.com wrote:

 Hi Seth,
 Twaud.io isn't part of the Twitter API but i'll try and help you anyway.
 The first thing to note is the Headers should be of the 
 format X-Verify-Credentials-Authorization. The 
 x_verify_credentials_authorization is mentioned because Twaud.io supports the 
 OAuth Echo parameters in the header or POST body.
 Looking at your sample X-Verify-Credentials-Authorization I notice you are 
 sending the realm as http://api.twitter.com . What i'm wondering is whether 
 you are sending the X-Auth-Service-Provider 
 as https://api.twitter.com/1/account/verify_credentials.json . According to 
 the twaud.io API documentation the X-Auth-Service-Provider must be:
     https://api.twitter.com/1/account/verify_credentials.json
 If you change the protocol to http, or use .xml instead of .json, the request 
 will not succeed. Double check that the verify_credentials request fits that 
 pattern. The other thing to ensure is the request to verify_credentials isn't 
 being sent to the Twitter API servers by your application. If the request is 
 being sent, the OAuth Echo provider cannot use it.
 Check those things out and let us know how it goes,
 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris


 On Mon, Feb 21, 2011 at 2:57 AM, Seth seth.delack...@gmail.com wrote:

 I've tried discussing with the author of twaud.io, but he says he
 doesn't really have time to look.  I've tried sending even a minimal
 test iPhone app Xcode project to twitter api support, but a week later
 no response.

 Our app is xAuth authorized, the app sends the username and password
 and gets a token, we produce all the intended headers and post up to
 twaud.io's api as described at twaud.io/api and yet just get the below
 totally opaque response:

 response: HTTP/1.1 403 Forbidden / Not Authorized

 Made sure that the twitter account I used for testing has given both
 our app and twaud.io read/write authorization.

 Here's a sample of what I am putting in X-Verify-Credentials-
 Authorization (which we've tried naming that way and also, per the
 twaud.io api page, x_verify_credentials_authorization).  We've also
 tried sending the value as either post values or as a request header:


 OAuth realm=http%3A%2F%2Fapi.twitter.com,
 oauth_consumer_key=ofEzSNkKNMzu4ANhII5g,
 oauth_token=123520286-U3RXmbgPPF0i4lDkVBdSCx9MEJhHMu8KvzAyosXI,
 oauth_signature_method=HMAC-SHA1,
 oauth_signature=9Z5VMPeL4QoGHCtpiMcUxF%2FPiXI%3D,
 oauth_timestamp=1297141216,
 oauth_nonce=A20C6AB4-AAF9-46A5-B1F0-574A5BD3B538,
 oauth_version=1.0

 I would be more than happy to send a minimal Xcode project to anyone
 who is willing to try running it in the iOS simulator.

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

Re: [twitter-dev] twaud.io api: anyone manage to get it working?

2011-02-25 Thread Seth Delackner
Some more debug output for completeness:
Since this is multipart form data, the oauth signature base string
would be just

httpMethod +  +
  url_encode(  base_uri ) +  +
  sorted_query_params.each  { | k, v |
  url_encode ( k ) + %3D +
  url_encode ( v )
  }.join(%26)

where the params is just oauth_* stuff (not the POST params, since we
aren't url-encoded)

so something like:

POSThttp%3A%2F%2Ftwaud.io%2Fapi%2Fv2%2Fupload.jsonoauth_consumer_key%3DofEzSNkKNMzu4ANhII5g%26oauth_nonce%3D0F9ABB3E-1CC9-4124-8BDF-DEDA50AE5A6B%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1298635432%26oauth_token%3D257264155-voUkUaayPjhrtW4a1Aid2lS2LshC5JDIM9p2LMXO%26oauth_version%3D1.0

(I've tried both https and http, yes being careful to make all the
various urls use the same one)

Here for instance is the WireShark output for my multipart fields:

MIME Multipart Media Encapsulation, Type: multipart/form-data,
Boundary: 0xKhTmLbOuNdArY
--0xKhTmLbOuNdArY
Content-Disposition: form-data; name=x_auth_service_provider

http://api.twitter.com/1/account/verify_credentials.json
--0xKhTmLbOuNdArY
Content-Disposition: form-data; name=x_verify_credentials_authorization

OAuth realm=, oauth_consumer_key=ofEzSNkKNMzu4ANhII5g,
oauth_token=257264155-voUkUaayPjhrtW4a1Aid2lS2LshC5JDIM9p2LMXO,
oauth_signature_method=HMAC-SHA1,
oauth_signature=vKxokk1Yqi4OCE%2B5GBIjw/Q2/G0%3D,
oauth_timestamp=1298635367,
oauth_nonce=F8FF0143-97B2-4693-9EA0-4D96297F1194,
oauth_version=1.0
--0xKhTmLbOuNdArY
Content-Disposition: form-data; name=sound[message]

Testing ECHO
--0xKhTmLbOuNdArY
Content-Disposition: form-data; name=sound[file];
filename=StrumStage_Song.m4a
Content-Type: application/octet-stream

ftypM4A M4A mp42[elided for brevity.  lots of text]
--0xKhTmLbOuNdArY--

-- 
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] twaud.io api: anyone manage to get it working?

2011-02-21 Thread Seth
I've tried discussing with the author of twaud.io, but he says he
doesn't really have time to look.  I've tried sending even a minimal
test iPhone app Xcode project to twitter api support, but a week later
no response.

Our app is xAuth authorized, the app sends the username and password
and gets a token, we produce all the intended headers and post up to
twaud.io's api as described at twaud.io/api and yet just get the below
totally opaque response:

response: HTTP/1.1 403 Forbidden / Not Authorized

Made sure that the twitter account I used for testing has given both
our app and twaud.io read/write authorization.

Here's a sample of what I am putting in X-Verify-Credentials-
Authorization (which we've tried naming that way and also, per the
twaud.io api page, x_verify_credentials_authorization).  We've also
tried sending the value as either post values or as a request header:


OAuth realm=http%3A%2F%2Fapi.twitter.com,
oauth_consumer_key=ofEzSNkKNMzu4ANhII5g,
oauth_token=123520286-U3RXmbgPPF0i4lDkVBdSCx9MEJhHMu8KvzAyosXI,
oauth_signature_method=HMAC-SHA1,
oauth_signature=9Z5VMPeL4QoGHCtpiMcUxF%2FPiXI%3D,
oauth_timestamp=1297141216,
oauth_nonce=A20C6AB4-AAF9-46A5-B1F0-574A5BD3B538,
oauth_version=1.0

I would be more than happy to send a minimal Xcode project to anyone
who is willing to try running it in the iOS simulator.

-- 
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] Match Friends to Users of App

2009-12-10 Thread Seth
I want my users to be able to see a list of their Friends from Twitter
that are using my app. The problem I am running into is the return
limit of 100 when using statues/friends as well as the rate limit for
API calls.

Also, the other thing I can't completely figure out is how to return
the matched user info without maxing out my rate limit for the API. If
I match 100 Friends that'll kill my rate limit quick.

Any help and/or examples of how to handle this is greatly
appreciated.

Seth


[twitter-dev] Parsing Tweets

2009-08-17 Thread Seth

I'm working on an app that needs to pull specific information from
tweets. I'm trying to figure out the best way with minimal impact on
the tweeter. I've come across the twitterdata [http://
twitterdata.org/] movement, and the concept makes sense, however, I am
not too sure about the buy-in from tweeters. It seems to be still very
new and I haven't found too much discussion around it.

What are your thoughts on being able to identify key=value
relationships within a tweet? Do you think specific requirements to
identify the key=value relationship will turn off users? Any
additional thoughts or tips on tweet parsing is always welcome as
well.

Seth


[twitter-dev] Re: DDoS Status Update

2009-08-07 Thread Seth

DMs seem to be down as well. Haven't been able to get any to go out.
Tweets seem to be fine though.

On Aug 7, 1:53 pm, Mario Menti mme...@gmail.com wrote:
 Thanks for the update Ryan.
 One thing I don't quite understand is why it's not an option to allow
 whitelisted applications to post. I will try and throttle our (
 twitterfeed.com) service back, but with nearly half a million of active
 feeds in the system, I can't quite see how this will help, as even a
 fraction of requests will be way over any non-whitelist limits you have in
 place.

 Mario.


[twitter-dev] Re: Handling deleted messages when caching locally

2009-03-25 Thread Seth Ladd

I'd also love to see an event log.  That would help my application
tremendously, and would seemingly address any syncing use cases.

On Mar 24, 4:36 pm, Bill Robertson billrobertso...@gmail.com wrote:
 I would like to see an event query.

 Request: user id, since (date only)
 Response:
   notification if user's profile has changed
   id's of deleted messages (in timeline, not just owned by user)
   ids or details of new followers for user
   ids of lost followers for user
   ids of details or new followings for user
   is of lost followings for user


[twitter-dev] Re: Handling deleted messages when caching locally

2009-03-25 Thread Seth Ladd

Basically, I'd like an IMAP for Twitter.

On Mar 25, 3:50 pm, Bill Robertson billrobertso...@gmail.com wrote:
 Separate calls might be bad because twitter would have to put up with
 http requests.  OTOH if assembling all of that information is
 expensive then separate might work too.

 On Mar 25, 5:55 pm, JakeS jakesteven...@gmail.com wrote:

  That event query does sound like a great idea.  I wouldn't even mind
  if each one of those was a separate call.

  On Mar 25, 3:22 am, Seth Ladd sethl...@gmail.com wrote:

   I'd also love to see an event log.  That would help my application
   tremendously, and would seemingly address any syncing use cases.

   On Mar 24, 4:36 pm, Bill Robertson billrobertso...@gmail.com wrote:

I would like to see an event query.

Request: user id, since (date only)
Response:
  notification if user's profile has changed
  id's of deleted messages (in timeline, not just owned by user)
  ids or details of new followers for user
  ids of lost followers for user
  ids of details or new followings for user
  is of lost followings for user


Twitdom - A Twitter Applications Database

2009-01-27 Thread Anuj Seth

Hi There,

I'm the founder of Twitdom - The Twitter Applications Database at
http://twitdom.com/

We currently have over 350 Twitter Applications listed on the website
under various categories which can be accessed via different tags as
well, for convenience.

I would love to get some feedback from this community on what you
think of the website.

Do note that its still the 1st month of the site being up! :-)

Positive feedback and even criticism is welcome! We would love to
build features on top of what we already have to make it more usable
for all of you.

Regards,
Anuj