Re: [twitter-dev] Introduce yourself!

2010-02-21 Thread Anton Krasovsky
Hi Guys,

@ak1394 Anton Krasovsky, Dublin, Ireland. Author of PavoMe (twitter
client for java mobiles).

I've been working with twitter for about half a year, and my efforts
are split between working
on client application and backend server (which handles all
communication between handset and Twitter servers, and is written in
Erlang).

So far the only twitter opensource released by me was an Erlang client
library. I don't think anyone except me actually uses it.

I'm looking forward to see xAuth avaiable - few users in China will
appreciate not having to
struggle with GFW to get their oauth tokens.

http://github.com/ak1394/twerl

http://pavo.me

Regards,
Anton

On Fri, Feb 19, 2010 at 8:20 PM, Abraham Williams <4bra...@gmail.com> wrote:
> We have not had an introductions thread in a long time (or ever that I could
> find) so I'm starting one. Don't forget to add an answer to the tools thread
> [1](Gmail link [2]) as well.
> I'm Abraham Williams, I've been working with the Twitter API and this group
> since early 2008. I do mostly freelance Drupal and Twitter API integration
> and personal projects. I love seeing the creative projects developers build
> or integrate with the API and look forward to meeting many of you at Chirp.
> TwitterOAuth [3] the first PHP library to support OAuth is built and
> maintained by me, and will hopefully see a new release soon. I also built a
> fun Chrome extension [4] that integrates common friends and followers into
> Twitter profiles.
> The feature I would most like added to the API is a conversation method to
> get replies to a specific status.
> So. Who are you, what do you do, what have you built, and what feature do
> you most want to see added?
> @Abraham
> [1] http://groups.google.com/group/twitter-development-talk/browse_thread/thread/c7cdaa0840f0de84/
> [2] https://mail.google.com/mail/#inbox/12680cd0fa59011e
> [3] https://chrome.google.com/extensions/detail/npdjhmblakdjfnnajeomfbogokloiggg
> [4] http://code.google.com/p/twitter-api/issues/detail?id=142
> --
> Abraham Williams | Community Advocate | http://abrah.am
> Project | Out Loud | http://outloud.labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Seattle, WA, United States


[twitter-dev] What's the time to get xAuth request reviewed?

2010-03-04 Thread Anton Krasovsky
Hi Raffi,

I wonder what's the approx time to get xAuth request reviewed? I've
submitted mine good two weeks ago (#866246) and haven't heard of it
since?
I don't mind waiting, but I wonder if it might have fallen through the
cracks somehow.

Regards,
Anton


Re: [twitter-dev] Re: xAuth

2010-03-04 Thread Anton Krasovsky
In case if anyone's interested (though I doubt there are many
Erlang'ers on the list),
I just added xAuth support to twerl.

http://github.com/ak1394/twerl

Regards,
Anton

On Wed, Mar 3, 2010 at 4:57 PM, Berto  wrote:
> Raffi,
>
> Can you comment on the first part of Marc's last reply?
>
> Thanks!
>
> On Mar 3, 9:24 am, Marc Mims  wrote:
>> * Berto  [100303 06:42]:
>>
>> > Isn't that using a GET request versus the docs saying POST?  And I
>> > thought parameters were supposed to be normalized except for signature
>> > which gets attached at the end?
>>
>> Hmmm. I completely missed the fact that the documentation specifies
>> POST.  I used GET and it worked.  When I use a POST, I get a 401.
>>
>> Doc bug?
>>
>> The order you *send* the parameters doesn't matter---the order of the
>> base string used for generating the signature does.
>>
>> The underlying libraries I use assemble the parameters in an arbitrary
>> order.  Generation of the signature is a separate call and builds it's
>> own base string from a hash (associative array).
>>
>> @semifor
>


Re: [twitter-dev] What's the time to get xAuth request reviewed?

2010-03-05 Thread Anton Krasovsky
Yep, I am. Thanks guys!

Anton

On Fri, Mar 5, 2010 at 9:31 PM, Mark McBride  wrote:
> Just to follow up on this, I think Anton is taken care of.
>   ---Mark
>
> http://twitter.com/mccv
>
>
> On Thu, Mar 4, 2010 at 2:46 AM, Anton Krasovsky 
> wrote:
>>
>> Hi Raffi,
>>
>> I wonder what's the approx time to get xAuth request reviewed? I've
>> submitted mine good two weeks ago (#866246) and haven't heard of it
>> since?
>> I don't mind waiting, but I wonder if it might have fallen through the
>> cracks somehow.
>>
>> Regards,
>> Anton
>
>


[twitter-dev] Looking for advice

2010-04-06 Thread Anton Krasovsky
Hi Guys,

just looking for some advice here. For the last half-a-year or so,
I've been working on
free J2ME Twitter client called PavoMe. It's targeting non-smartfone
mobiles such as a less expensive
Nokias, SonyEricssons and so on. I'm relatively happy with it and
users seem to like it too.

However, I find myself running out of steam. I'm sure it wouldn't do
any good to a project it I stop
adding new features to it, so I'm thinking if I should find a partner
who could invest some time in it,
grow the user base further and attempt to commercialize it? If so,
would anyone be interested?

Or perhaps, I should opensource it? It's an interesting mix of tech,
with client-side J2ME and server side
written in Erlang. Though, I don't think there are many developers
interested in J2ME anymore, and not
too many Erlang developers yet.

So what do you think?

http://pavo.me

http://tdash.org/stats/client/75

Regards,
Anton


-- 
To unsubscribe, reply using "remove me" as the subject.


Re: [twitter-dev] xAuth users?

2010-04-06 Thread Anton Krasovsky
Using xAuth. I've mobile client, so xAuth is a main auth mode for me.

Do you have any particular questions?

Regards,
Anton

On Tue, Apr 6, 2010 at 8:28 PM, Cameron Kaiser  wrote:
> Anyone using xAuth successfully? I'm having trouble getting the process to
> accept my requests. I can discuss this off list if you prefer.
>
> --
>  personal: http://www.cameronkaiser.com/ 
> --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
> -- Seen on hand dryer: "Push button for a message from your congressman." 
> -
>
>
> --
> To unsubscribe, reply using "remove me" as the subject.
>


Re: [twitter-dev] Mobile geolocation and cellid

2009-12-08 Thread Anton Krasovsky
Thanks for reply! I would be nice if you'd have considered adding something
like that in the future - iPhones and such are nice, but there are
plenty more users with simplier phones that don't have GPS.

Anton

On Mon, Dec 7, 2009 at 9:14 PM, Raffi Krikorian  wrote:
> hi anton.
> that's interesting, but, right now, we don't have anything like that on our
> roadmap. devices like the iPod touch, i believe, do the cell ID ->
> coordinate mapping internally, and then could send those coordinates to our
> API.
>
> On Mon, Dec 7, 2009 at 12:14 PM, anton  wrote:
>>
>> Is there any plans to support cellid based location updates for mobile
>> devices that aren't equipped with GPS?
>>
>> My understanding that currently to update user's location one has to
>> obtain users latitude and longitude, which aren't readily available on
>> most handsets (except the newest ones equipped with GPS) .
>>
>> It would be terrific if Twitter would allow to use cellid to update
>> the user's location, similar to what Google Latitude does.
>>
>> Regards,
>> Anton
>
>
>
> --
> Raffi Krikorian
> Twitter Platform Team
> http://twitter.com/raffi
>


Re: [twitter-dev] Mobile geolocation and cellid

2009-12-08 Thread Anton Krasovsky
Sure, but I think their coverage is somewhat scarce? Yahoo Fireeagle
seems to support cellid, but I don't think is workable to ask users to
signup for Fireeagle. Then there is http://www.navizon.com/ but it's
too expensive for me at this stage.

Anton

On Tue, Dec 8, 2009 at 4:35 PM, Abraham Williams <4bra...@gmail.com> wrote:
> If you are making request to the Twitter API you should be able to make
> request to OpenCelID to get an approximate lat/lon location.
> http://www.opencellid.org/api
>
> On Tue, Dec 8, 2009 at 04:44, Anton Krasovsky 
> wrote:
>>
>> Thanks for reply! I would be nice if you'd have considered adding
>> something
>> like that in the future - iPhones and such are nice, but there are
>> plenty more users with simplier phones that don't have GPS.
>>
>> Anton
>>
>> On Mon, Dec 7, 2009 at 9:14 PM, Raffi Krikorian  wrote:
>> > hi anton.
>> > that's interesting, but, right now, we don't have anything like that on
>> > our
>> > roadmap. devices like the iPod touch, i believe, do the cell ID ->
>> > coordinate mapping internally, and then could send those coordinates to
>> > our
>> > API.
>> >
>> > On Mon, Dec 7, 2009 at 12:14 PM, anton 
>> > wrote:
>> >>
>> >> Is there any plans to support cellid based location updates for mobile
>> >> devices that aren't equipped with GPS?
>> >>
>> >> My understanding that currently to update user's location one has to
>> >> obtain users latitude and longitude, which aren't readily available on
>> >> most handsets (except the newest ones equipped with GPS) .
>> >>
>> >> It would be terrific if Twitter would allow to use cellid to update
>> >> the user's location, similar to what Google Latitude does.
>> >>
>> >> Regards,
>> >> Anton
>> >
>> >
>> >
>> > --
>> > Raffi Krikorian
>> > Twitter Platform Team
>> > http://twitter.com/raffi
>> >
>
>
>
> --
> Abraham Williams | Community Evangelist | http://web608.org
> Hacker | http://abrah.am | http://twitter.com/abraham
> Project | Awesome Lists | http://twitterli.st
> This email is: [ ] blogable [x] ask first [ ] private.
> Sent from Madison, WI, United States


Re: [twitter-dev] Mobile geolocation and cellid

2009-12-08 Thread Anton Krasovsky
AFAIK they mostly target smarphones and require both cell id and wifi
ssid data to do the lookup, so it's not an option for j2me-only
devices.


On Tue, Dec 8, 2009 at 5:29 PM, Jonathan Markwell
 wrote:
> Skyhook Wireless could be another option: http://www.skyhookwireless.com
>
> On Tue, Dec 8, 2009 at 4:50 PM, Anton Krasovsky
>  wrote:
>> Sure, but I think their coverage is somewhat scarce? Yahoo Fireeagle
>> seems to support cellid, but I don't think is workable to ask users to
>> signup for Fireeagle. Then there is http://www.navizon.com/ but it's
>> too expensive for me at this stage.
>>
>> Anton
>>
>> On Tue, Dec 8, 2009 at 4:35 PM, Abraham Williams <4bra...@gmail.com> wrote:
>>> If you are making request to the Twitter API you should be able to make
>>> request to OpenCelID to get an approximate lat/lon location.
>>> http://www.opencellid.org/api
>>>
>>> On Tue, Dec 8, 2009 at 04:44, Anton Krasovsky 
>>> wrote:
>>>>
>>>> Thanks for reply! I would be nice if you'd have considered adding
>>>> something
>>>> like that in the future - iPhones and such are nice, but there are
>>>> plenty more users with simplier phones that don't have GPS.
>>>>
>>>> Anton
>>>>
>>>> On Mon, Dec 7, 2009 at 9:14 PM, Raffi Krikorian  wrote:
>>>> > hi anton.
>>>> > that's interesting, but, right now, we don't have anything like that on
>>>> > our
>>>> > roadmap. devices like the iPod touch, i believe, do the cell ID ->
>>>> > coordinate mapping internally, and then could send those coordinates to
>>>> > our
>>>> > API.
>>>> >
>>>> > On Mon, Dec 7, 2009 at 12:14 PM, anton 
>>>> > wrote:
>>>> >>
>>>> >> Is there any plans to support cellid based location updates for mobile
>>>> >> devices that aren't equipped with GPS?
>>>> >>
>>>> >> My understanding that currently to update user's location one has to
>>>> >> obtain users latitude and longitude, which aren't readily available on
>>>> >> most handsets (except the newest ones equipped with GPS) .
>>>> >>
>>>> >> It would be terrific if Twitter would allow to use cellid to update
>>>> >> the user's location, similar to what Google Latitude does.
>>>> >>
>>>> >> Regards,
>>>> >> Anton
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Raffi Krikorian
>>>> > Twitter Platform Team
>>>> > http://twitter.com/raffi
>>>> >
>>>
>>>
>>>
>>> --
>>> Abraham Williams | Community Evangelist | http://web608.org
>>> Hacker | http://abrah.am | http://twitter.com/abraham
>>> Project | Awesome Lists | http://twitterli.st
>>> This email is: [ ] blogable [x] ask first [ ] private.
>>> Sent from Madison, WI, United States
>>
>
>
>
> --
> Jonathan Markwell
> Engineer | Founder | Connector
>
> Inuda Innovations Ltd, Brighton, UK
>
> Web application development & support
> Twitter & Facebook integration specialists
> http://inuda.com
>
> Organising the world's first events for the Twitter developer Community
> http://TwitterDeveloperNest.com
>
> Providing a nice little place to work in the middle of Brighton -
> http://theskiff.org
>
> Measuring your brand's visibility on the social web - http://HowSociable.com
>
> mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953
> skype: jlmarkwell | twitter: http://twitter.com/jot
>


[twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread Anton Krasovsky
I'd like to retrieve and store a list of usernames particular user is
following/followed by. However I've no idea how to update the this
list (say a next day after it has been retrieved) with the recent
changes. So far it looks like the only option is to re-fetch the whole
list again. Is there any other way to get just a changes to this list
(names added/deleted)?

Regards,
Anton


Re: [twitter-dev] Caching/updating list of user's following/followers

2009-12-09 Thread Anton Krasovsky
Sure. You won't be able to track username changes with it though?

Anton

On Wed, Dec 9, 2009 at 5:26 PM, Abraham Williams <4bra...@gmail.com> wrote:
> You can also use the Social Graph methods and users/show to fill in missing
> profiles.
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friends%C2%A0ids
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-followers%C2%A0ids
> Abraham
> On Wed, Dec 9, 2009 at 11:20, John Kalucki  wrote:
>>
>> Recent adds will always be at the top of the list. If you know the count
>> and the recent adds, you can probabilistically determine if there are recent
>> deletes, but then you have to pull the entire set. Yes, this isn't great.
>> -John Kalucki
>> http://twitter.com/jkalucki
>> Services, Twitter Inc.
>>
>> On Wed, Dec 9, 2009 at 8:51 AM, Anton Krasovsky
>>  wrote:
>>>
>>> I'd like to retrieve and store a list of usernames particular user is
>>> following/followed by. However I've no idea how to update the this
>>> list (say a next day after it has been retrieved) with the recent
>>> changes. So far it looks like the only option is to re-fetch the whole
>>> list again. Is there any other way to get just a changes to this list
>>> (names added/deleted)?
>>>
>>> Regards,
>>> Anton
>>
>
>
>
> --
> Abraham Williams | Community Evangelist | http://web608.org
> Project | Intersect | http://intersect.labs.poseurtech.com
> Hacker | http://abrah.am | http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Madison, WI, United States


Re: [twitter-dev] Re: Rate limit HTTP response

2010-01-28 Thread Anton Krasovsky
Happens to me too, a lot of (all?) user accounts are getting "Rate
limit exceeded. Clients may not make more than 0 requests per hour."
error messages.

Anton

On Thu, Jan 28, 2010 at 9:51 PM, Rich  wrote:
> Interesting my whitelisted account is still working, but the non
> whitelisted ones are broken over oAuth
>
> On Jan 28, 9:48 pm, Rich  wrote:
>> Just run it through my debugger, it's absolutely returning an HTTP 400
>> response
>>
>> On Jan 28, 9:46 pm, Rich  wrote:
>>
>>
>>
>> > Looks like they are in the process of upping the oAuth rate limit as
>> > now I'm getting different results but still a 400 error
>>
>> > On Jan 28, 9:41 pm, Shelkie  wrote:
>>
>> > > Are others having trouble with Ratelimits?
>>
>> > > Suddenly the "X-Ratelimit-Limit" has changed to 0 for several accounts
>> > > I have checked. Here are some sample HTTP headers:
>>
>> > >  [Date] => Thu, 28 Jan 2010 21:27:55 GMT
>> > >  [Server] => hi
>> > >  [X-Ratelimit-Limit] => 0
>> > >  [Status] => 400 Bad Request
>> > >  [X-Ratelimit-Remaining] => 0
>> > >  [X-Runtime] => 0.02640
>> > >  [Content-Type] => application/json; charset=utf-8
>> > >  [Content-Length] => 412
>> > >  [X-Ratelimit-Class] => api_identified
>> > >  [Cache-Control] => no-cache, max-age=300
>> > >  [X-Ratelimit-Reset] => 1264716226
>>
>> > > Notice that X-Ratelimit-Reset is also out of date when compared to
>> > > ["Date"]
>>
>> > > Any ideas? Could our app have been blacklisted for some reason, or is
>> > > this a more widespread problem?
>>
>> > > Eric.
>


Re: [twitter-dev] Re: Rate limit HTTP response

2010-01-28 Thread Anton Krasovsky
It looks like this problem is affecting api.twitter.com only. I've
moved from to twitter.com and it's gone.

Anton

On Thu, Jan 28, 2010 at 10:04 PM, Anton Krasovsky
 wrote:
> Happens to me too, a lot of (all?) user accounts are getting "Rate
> limit exceeded. Clients may not make more than 0 requests per hour."
> error messages.
>
> Anton
>
> On Thu, Jan 28, 2010 at 9:51 PM, Rich  wrote:
>> Interesting my whitelisted account is still working, but the non
>> whitelisted ones are broken over oAuth
>>
>> On Jan 28, 9:48 pm, Rich  wrote:
>>> Just run it through my debugger, it's absolutely returning an HTTP 400
>>> response
>>>
>>> On Jan 28, 9:46 pm, Rich  wrote:
>>>
>>>
>>>
>>> > Looks like they are in the process of upping the oAuth rate limit as
>>> > now I'm getting different results but still a 400 error
>>>
>>> > On Jan 28, 9:41 pm, Shelkie  wrote:
>>>
>>> > > Are others having trouble with Ratelimits?
>>>
>>> > > Suddenly the "X-Ratelimit-Limit" has changed to 0 for several accounts
>>> > > I have checked. Here are some sample HTTP headers:
>>>
>>> > >  [Date] => Thu, 28 Jan 2010 21:27:55 GMT
>>> > >  [Server] => hi
>>> > >  [X-Ratelimit-Limit] => 0
>>> > >  [Status] => 400 Bad Request
>>> > >  [X-Ratelimit-Remaining] => 0
>>> > >  [X-Runtime] => 0.02640
>>> > >  [Content-Type] => application/json; charset=utf-8
>>> > >  [Content-Length] => 412
>>> > >  [X-Ratelimit-Class] => api_identified
>>> > >  [Cache-Control] => no-cache, max-age=300
>>> > >  [X-Ratelimit-Reset] => 1264716226
>>>
>>> > > Notice that X-Ratelimit-Reset is also out of date when compared to
>>> > > ["Date"]
>>>
>>> > > Any ideas? Could our app have been blacklisted for some reason, or is
>>> > > this a more widespread problem?
>>>
>>> > > Eric.
>>
>


Re: [twitter-dev] What tools do you use?

2010-01-31 Thread Anton Krasovsky
Erlang
http://www.erlang.org/
Very satisfied with it, using it in a proxy server for j2me clients.

Twerl, my own erlang twitter client.
http://github.com/ak1394/twerl/

Anton

On Sat, Jan 30, 2010 at 10:18 PM,   wrote:
> TwitterVB - a .net framework for twitter and
>
> PHP - custom written code to pull the public time line and users timelimes
>
> Sent using BlackBerry® from Orange
>
> -Original Message-
> From: "M. Edward (Ed) Borasky" 
> Date: Sat, 30 Jan 2010 13:17:09
> To: 
> Subject: Re: [twitter-dev] What tools do you use?
>
> I do most of my Twitter API development in Perl, with some of it in
> Ruby. I use Komodo IDE for that.
> http://www.activestate.com/komodo/
>
> The Perl Net::Twitter library:
> http://search.cpan.org/dist/Net-Twitter/
>
> The Ruby "tweetstream" gem:
> http://intridea.com/2009/9/22/tweetstream-ruby-access-to-the-twitter-streaming-api
>
> PostgreSQL as a database for large collections of tweets:
> http://www.postgresql.org/
>
> and of course, my own appliance, sm...@znmeb:
> http://borasky-research.net/2009/10/26/coming-soon-smartznmeb-0-5/
>
>
> On Sat, Jan 30, 2010 at 11:55 AM, Abraham Williams <4bra...@gmail.com> wrote:
>> Lets collect an awesome list of tools and applications we use to help
>> develop with the Twitter API.
>> I'll start the list with a couple that I use:
>> Charles Proxy - @charlesproxy - http://www.charlesproxy.com/
>> Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a
>> developer to view all of the HTTP and SSL / HTTPS traffic between their
>> machine and the Internet. This includes requests, responses and the HTTP
>> headers (which contain the cookies and caching information)
>> Hurl - @hurlit - http://hurl.it/
>> Hurl makes HTTP requests. Enter a URL, set some headers, view the response,
>> then share it with others. Perfect for demoing and debugging APIs.
>> Hurl is also open source - http://defunkt.github.com/hurl/
>> TwitterOAuth PHP Library -
>> @oauthlib - http://github.com/abraham/twitteroauth
>> The first PHP Library to support OAuth for Twitter's REST API.
>> MIT licensed.
>> GitHub - @github - https://github.com/
>> GitHub is the easiest (and prettiest) way to participate in that
>> collaboration: fork projects, send pull requests, monitor development, all
>> with ease.
>> What tools do you use while developing with the Twitter API?
>> --
>> Abraham Williams | Community Advocate | http://abrah.am
>> Project | Out Loud | http://outloud.labs.poseurtech.com
>> This email is: [ ] shareable [x] ask first [ ] private.
>> Sent from Seattle, WA, United States
>
>
>
> --
> M. Edward (Ed) Borasky
> http://borasky-research.net
>
> "I've always regarded nature as the clothing of God." ~Alan Hovhaness
>


Re: [twitter-dev] Re: Tell me more about OAuth

2010-02-01 Thread Anton Krasovsky
+1 for this. BTW, I've just discovered, that OAuth is problematic for
Chienese users because of great firewall of China.


On Sun, Jan 31, 2010 at 5:01 PM, popoffka  wrote:
> Yes, that;s right what I need!
> Ok, I'll wait for implementation.
>
> On Jan 31, 10:58 am, srikanth reddy 
> wrote:
>> That also requires browser. Probably you meant this (which is not supported
>> yet)http://groups.google.co.in/group/twitter-development-talk/browse_thre...
>>
>>
>>
>> On Sun, Jan 31, 2010 at 12:48 AM, Raffi Krikorian  wrote:
>> > we currently have a PIN based workflow for this purpose -
>> >http://apiwiki.twitter.com/Authentication
>>
>> > On Fri, Jan 29, 2010 at 11:21 PM, popoffka  wrote:
>>
>> >> Hello everybody!
>> >> I want to develop twitter client for a special system, but there's a
>> >> problem - this system don't have a web browser.
>> >> Does that mean that I can't use OAuth for authentication in my app?
>>
>> > --
>> > Raffi Krikorian
>> > Twitter Platform Team
>> >http://twitter.com/raffi
>


[twitter-dev] Mobile java client - happy with OAuth as it is

2010-02-02 Thread Anton Krasovsky
With all that talk about OAuth, I thought I might share my experience
using it in for a mobile (j2me) twitter client.

I guess my approach is nothing new, and probably is not applicable to
iPhone apps because of the appstore distribution process, but anyways.

So the way I handle OAuth is as follows:

All application downloads are handled by my own server. Before
allowing user to download the app I initiate OAuth authorization with
Twitter and then, save user tokens along with generated unique id for
a user.

Once authorized, user is permitted to download the application which
is tagged with that unique user id I generated earlier.

Once user starts the app, it uses it's id to authenticate itself to my server.

All communicatin between Twitter and user's appication is
handled/proxied by the server that performs all necessary oauth
signing on behalf of the user.

So, this way I have all benefits of using OAuth in a mobile app.

The only drawback really, is that user must visit my web site at least
once to perform authorization.

Regards,
Anton
http://pavo.me


Re: [twitter-dev] Mobile java client - happy with OAuth as it is

2010-02-02 Thread Anton Krasovsky
I know, I know. It's a solution that works for me, - given the
resource limitation of a typical  low end phone I decided to do most
processing on the server anyway.

I'm not trying to persuade everyone to do it this way, just sharing my
experience.

Anton

On Tue, Feb 2, 2010 at 2:09 PM, ryan alford  wrote:
> Another problem with this approach is that you are now required to have a
> server.  So now a developer would have the added expense of paying for a
> server.  Now if the developer already had a server, then it's a moot point,
> but not all developers have their own hosted servers.
> What happens when your server goes down, or your hosting provider has
> connectivity problems?  Your app is now dead, even though Twitter is still
> functioning normally.
> Ryan
>
> On Tue, Feb 2, 2010 at 7:08 AM, Anton Krasovsky 
> wrote:
>>
>> With all that talk about OAuth, I thought I might share my experience
>> using it in for a mobile (j2me) twitter client.
>>
>> I guess my approach is nothing new, and probably is not applicable to
>> iPhone apps because of the appstore distribution process, but anyways.
>>
>> So the way I handle OAuth is as follows:
>>
>> All application downloads are handled by my own server. Before
>> allowing user to download the app I initiate OAuth authorization with
>> Twitter and then, save user tokens along with generated unique id for
>> a user.
>>
>> Once authorized, user is permitted to download the application which
>> is tagged with that unique user id I generated earlier.
>>
>> Once user starts the app, it uses it's id to authenticate itself to my
>> server.
>>
>> All communicatin between Twitter and user's appication is
>> handled/proxied by the server that performs all necessary oauth
>> signing on behalf of the user.
>>
>> So, this way I have all benefits of using OAuth in a mobile app.
>>
>> The only drawback really, is that user must visit my web site at least
>> once to perform authorization.
>>
>> Regards,
>> Anton
>> http://pavo.me
>
>


Re: [twitter-dev] Mobile java client - happy with OAuth as it is

2010-02-03 Thread Anton Krasovsky
On Wed, Feb 3, 2010 at 5:02 AM, Jeff Enderwick  wrote:
> App-engine is free to a point, and you do get (little) more than you pay
> for. But that scheme carries a heavy price:
> personally engraved downloads: one heavyweight op per subscriber (one-time
> though),

That's not strictly necessary, as the app could potentially be
downloaded untagged and then it could contact server on once it run
for a first time to get it's ID.

There are two problems though:

1. User has to go throuh a website to perform the OAuth authorization.

2. There should be a way to establish the link between user's
OAuth tokens saved on the server, and an app. For example a PIN code
could be used.

> having server-side resources proxy all mobile twitter interaction: way, way
> to heavy for no real functional benefit (and also less fault tolerant).

That depends on the platform the app is written for. It would be an
overkill for iPhone or Android, but j2me? I think the Snaptu which
currenlty is the biggest j2me client out threre does it exactly like
this.

Also, it the mobile app is doing OAuth itself, it has to be given the
application token and secret with all the security implications of
doing this.

Anton

>
> On Tue, Feb 2, 2010 at 1:02 PM, Abraham Williams <4bra...@gmail.com> wrote:
>>
>> With the proliferation of services like Google App Engine finding free or
>> cheap sever resources is easy.
>> Abraham
>>
>> On Tue, Feb 2, 2010 at 06:09, ryan alford  wrote:
>>>
>>> Another problem with this approach is that you are now required to have a
>>> server.  So now a developer would have the added expense of paying for a
>>> server.  Now if the developer already had a server, then it's a moot point,
>>> but not all developers have their own hosted servers.
>>> What happens when your server goes down, or your hosting provider has
>>> connectivity problems?  Your app is now dead, even though Twitter is still
>>> functioning normally.
>>> Ryan
>>>
>>> On Tue, Feb 2, 2010 at 7:08 AM, Anton Krasovsky
>>>  wrote:
>>>>
>>>> With all that talk about OAuth, I thought I might share my experience
>>>> using it in for a mobile (j2me) twitter client.
>>>>
>>>> I guess my approach is nothing new, and probably is not applicable to
>>>> iPhone apps because of the appstore distribution process, but anyways.
>>>>
>>>> So the way I handle OAuth is as follows:
>>>>
>>>> All application downloads are handled by my own server. Before
>>>> allowing user to download the app I initiate OAuth authorization with
>>>> Twitter and then, save user tokens along with generated unique id for
>>>> a user.
>>>>
>>>> Once authorized, user is permitted to download the application which
>>>> is tagged with that unique user id I generated earlier.
>>>>
>>>> Once user starts the app, it uses it's id to authenticate itself to my
>>>> server.
>>>>
>>>> All communicatin between Twitter and user's appication is
>>>> handled/proxied by the server that performs all necessary oauth
>>>> signing on behalf of the user.
>>>>
>>>> So, this way I have all benefits of using OAuth in a mobile app.
>>>>
>>>> The only drawback really, is that user must visit my web site at least
>>>> once to perform authorization.
>>>>
>>>> Regards,
>>>> Anton
>>>> http://pavo.me
>>>
>>
>>
>>
>> --
>> Abraham Williams | Community Advocate | http://abrah.am
>> Project | Out Loud | http://outloud.labs.poseurtech.com
>> This email is: [ ] shareable [x] ask first [ ] private.
>> Sent from Seattle, WA, United States
>


[twitter-dev] Twitter based bug tracker/feedback system, anyone?

2010-02-03 Thread Anton Krasovsky
I wonder if anyone has a twitter based bugtracker / feedback system?

Of course, there are many web based systems like that (uservoice,
etc), but given that many of my users
seem to have mostly mobile-based net access, leaving feedback for them
is harder than it should be.

Or if I start using twitter as a main feedback channel, it's going to
be difficult to me to keep track of all these
tweets.

So, is there anything out there that could help me keep track of user
feedback via twitter?

Regards,
Anton

http://pavo.me j2me Twitter client


Re: [twitter-dev] Twitter based bug tracker/feedback system, anyone?

2010-02-05 Thread Anton Krasovsky
What is Tender?

Anton

On Thu, Feb 4, 2010 at 4:04 PM, Michael Ivey  wrote:
> Cotweet has some of this, but it's a more general "manage responses" system
> than bug tracking. I'd love to see Tender add Twitter features.
>  -- ivey
>
>
> On Wed, Feb 3, 2010 at 1:03 PM, Anton Krasovsky 
> wrote:
>>
>> I wonder if anyone has a twitter based bugtracker / feedback system?
>>
>> Of course, there are many web based systems like that (uservoice,
>> etc), but given that many of my users
>> seem to have mostly mobile-based net access, leaving feedback for them
>> is harder than it should be.
>>
>> Or if I start using twitter as a main feedback channel, it's going to
>> be difficult to me to keep track of all these
>> tweets.
>>
>> So, is there anything out there that could help me keep track of user
>> feedback via twitter?
>>
>> Regards,
>> Anton
>>
>> http://pavo.me j2me Twitter client
>
>


Re: [twitter-dev] Twitter based bug tracker/feedback system, anyone?

2010-02-05 Thread Anton Krasovsky
Thanks, it looks interesting.

Regards,
Antont

On Thu, Feb 4, 2010 at 4:04 PM, Michael Ivey  wrote:
> Cotweet has some of this, but it's a more general "manage responses" system
> than bug tracking. I'd love to see Tender add Twitter features.
>  -- ivey
>
>
> On Wed, Feb 3, 2010 at 1:03 PM, Anton Krasovsky 
> wrote:
>>
>> I wonder if anyone has a twitter based bugtracker / feedback system?
>>
>> Of course, there are many web based systems like that (uservoice,
>> etc), but given that many of my users
>> seem to have mostly mobile-based net access, leaving feedback for them
>> is harder than it should be.
>>
>> Or if I start using twitter as a main feedback channel, it's going to
>> be difficult to me to keep track of all these
>> tweets.
>>
>> So, is there anything out there that could help me keep track of user
>> feedback via twitter?
>>
>> Regards,
>> Anton
>>
>> http://pavo.me j2me Twitter client
>
>


Re: [twitter-dev] Re: Oauth connection and timestamp

2010-02-16 Thread Anton Krasovsky
Hi Fauzil,

I guess you're the author of Twitblack? I'm another j2me developer
here, the author of PavoMe. Unfortunately I can't give you much advice
on j2me OAuth as I do most of that stuff on the server side. Few
suggestions however:

1. The clock: why don't you try to get the exact time at the client
startup, from say 'Date' header from any HTTP response from twitter
server? Then you could establish the difference between phone time and
server time, and then use the ajusted value when making the oauth
calls?

2. Failing OAuth requests. Does that happen on the real device or in
the emulator? If using emulator you can get the traffic log (in Nokia
emulators) or you could use protocol analyzer like Wireshark
http://www.wireshark.org/ if you're using WTK/SonyEricsson emulators.

Regards,
Anton


On Sun, Feb 14, 2010 at 5:52 AM, Fauzil Hamdi  wrote:
> when i get response message, it say "Unauthorized"
> i just got confused because i try it again, and it success
>


[twitter-dev] Goodbye list!

2010-11-12 Thread Anton Krasovsky
Guys,

for the last several months I hardly did any work on my app, or any
twitter-related development work for that matter.
I'm going to put the project I was working on ( http://pavo.me a j2me
twitter client ), on hold and unsubscribe from the list.
I can opensource PavoMe, if there is interest (if so, please drop me a line).

Thanks for the support and best of luck to all of you!

Anton

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