[twitter-dev] Re: Tweet button showing 0 count

2010-11-26 Thread kovshenin
Is this related to my website responding 405 to HTTP HEAD requests?

On Nov 22, 9:13 pm, kovshenin  wrote:
> Cheers all. I wrote a Twitter app back in 2009 called Foller.me
> (http://www.foller.me) which has now moved to Google App Engine. The
> latest changes to the app included aTweetbuttonwith the count for
> each profile. I simply copied and pasted the code Twitter gave me, but
> it doesn't seem to work, tweeting goes alright, but the count is
> always 0.
>
> I went forward by clicking the count to see that it's performing a
> Twitter search using the current URL that was tweeted, and yeah, there
> were no results. The tweeted link automatically gets shortened using
> Twitter's shortening service t.co, and the tweets do not show up.
>
> Could anybody help me investigate this? You can try it with any
> Twitter name or use mine:http://www.foller.me/kovshenin
>
> Thanks!

-- 
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] Tweet button showing 0 count

2010-11-22 Thread kovshenin
Cheers all. I wrote a Twitter app back in 2009 called Foller.me
(http://www.foller.me) which has now moved to Google App Engine. The
latest changes to the app included a Tweet button with the count for
each profile. I simply copied and pasted the code Twitter gave me, but
it doesn't seem to work, tweeting goes alright, but the count is
always 0.

I went forward by clicking the count to see that it's performing a
Twitter search using the current URL that was tweeted, and yeah, there
were no results. The tweeted link automatically gets shortened using
Twitter's shortening service t.co, and the tweets do not show up.

Could anybody help me investigate this? You can try it with any
Twitter name or use mine: http://www.foller.me/kovshenin

Thanks!

-- 
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: Problems with @Anywhere Tweet Box and jQuery

2010-04-21 Thread kovshenin
I came across this a few days ago. The problem here I believe, is that
there's some calculation going on in javascript based on the block
you're displaying it in, which in your case is not visible at all,
thus the iframe is being tagged with a 0x0 width and height. There are
two ways to solve it:

1. Fire the .tweetBox() function only AFTER the div is displayed, i.e.
as soon as the fadein/slidein or whatever animation is complete
2. Overriding CSS styles with the !important tag, here's a copy from
my code:

#tbox iframe.twitter-anywhere-tweet-box {
width: 488px !important;
height: 140px !important;
}

Where #tbox is the element I run tweetBox() on.

Cheers.

On Apr 21, 11:02 am, "Juan [...@pottersys]"  wrote:
> Hi!
>
> I'm trying out the Tweet Box for a tiny page, and I gave to the layer
> where the Tweet Box is a fade effect (and hiding the 'Coming soon'
> message). I added a hash shorcut too (e.g.: when you go to
> url#participa, it'll show only the Tweet Box)
>
> In Chrome, works great. In Firefox, going to the hashed page works
> great; but when I go to the main page, and I click to the link to show
> the Tweet Box, it just appear the message and the white  where
> the Tweet Box should be.
>
> There is a demo onhttp://190.54.12.75/~pslabscl/cei/(and the direct
> Tweet Box link is inhttp://190.54.12.75/~pslabscl/cei/#participa).
>
> I think it's a problem about how jQuery handles hide(); , but I want
> to be sure about that
>
> Thanks for any clue!
>
> --
> Subscription 
> settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Retweet Anywhere for WordPress

2010-04-20 Thread kovshenin
Abraham, that's nice, though there may be one drawback when shortening
the links. A call to bit.ly or other URL shorteners could take some
time, thus slowing down your page if you do it server-side. Of course
you could cache it or do it via javascript with a PHP tunnel (AJAX)
but what's the point of shortening the link if there's a very little
chance that people will actually tweet it. On the other hand, if you
shorten only when somebody pressed "Retweet" then there's a greater
chance of them actually tweeting, so it's worthed ;) Anywyas, if
you're using a preset shortened link then it's good, and I like the
way it looks ;) bravo!

Ed, it is easy with a few tricks, check out this one
http://kovshenin.com/archives/setup-twitter-anywhere-for-wordpress-in-seconds/
called Setup Twitter @Anywhere for WordPress in Seconds. Anyways, the
value of this plugin I'm thinking of is not actually the "embedding
@Anywhere" part, but having the facebox style popup with a preset
status and a shortened link to the post.

On Apr 21, 7:09 am, Abraham Williams <4bra...@gmail.com> wrote:
> Interesting. I took a slightly different approach of embedded the Tweet Box
> on my blog and pre-filling it with the title and a shortened URL.
>
> http://the.hackerconundrum.com/
>
> <http://the.hackerconundrum.com/>Abraham
>
>
>
> On Tue, Apr 20, 2010 at 08:29, kovshenin  wrote:
> > Hey all. I've been working on this little plugin for WordPress that's
> > supposed to kind of act like Tweetmeme, but a little bit more branded
> > and doesn't actually show the number of retweets, maybe that's a
> > drawback, but hey, I wouldn't like to show 0 retweets ;)
>
> > Anyway, the snippet works with jQuery and Facebox, you can see it in
> > action onhttp://kovshenin.comin each blog post. I used the original
> > @Anywhere "Follow @.." button but wrote Retweet (is that against the
> > law?).
>
> > I was just wondering what your thoughts are. Is this useful or is this
> > yet another crappy parody on tweetmeme? I haven't released the plugin
> > public yet, but you'll be able to tweak the url shortener, tweet
> > format, etc.
>
> > Any feedback is appreciated. Thanks!
>
> > ~ K
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Retweet Anywhere for WordPress

2010-04-20 Thread kovshenin
Hey all. I've been working on this little plugin for WordPress that's
supposed to kind of act like Tweetmeme, but a little bit more branded
and doesn't actually show the number of retweets, maybe that's a
drawback, but hey, I wouldn't like to show 0 retweets ;)

Anyway, the snippet works with jQuery and Facebox, you can see it in
action on http://kovshenin.com in each blog post. I used the original
@Anywhere "Follow @.." button but wrote Retweet (is that against the
law?).

I was just wondering what your thoughts are. Is this useful or is this
yet another crappy parody on tweetmeme? I haven't released the plugin
public yet, but you'll be able to tweak the url shortener, tweet
format, etc.

Any feedback is appreciated. Thanks!

~ K


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: One account to rule them all: questions

2010-04-20 Thread kovshenin
I think that there's a Contributors API coming very soon which will
have the ability to do stuff "on behalf of".

On Apr 20, 5:41 pm, luisg  wrote:
> Hello people,
>
> I'm trying to do something that I don't know if will work. Let me
> explain the main idea:
>
> 1) A user 'login with twitter' in my application;
> 2) This user should have the possibility to 'add account'. This means
> that, if a user owns more than 1 account, we will associate the 1st
> account (the one he logged in: main account) and the new he want to
> add (sub account). The goal is to tweet to sub-accounts as well as
> edit sub-account details from main account.
>
> The thing is, after I login with the main account, and if a want to
> add a new sub-account, I have to go to twitter, enter sub-account user
> and passwords, to get all the information so I can store in my DB.
> But, when I give this account name and password, I don't want to login
> (cause I'm already with the main account), I just want to retrieve the
> information (especially the access token and secret).
>
> Is possible to get access token and secret giving the account name and
> password but without login? Doing that with human interaction would be
> great, but I need to go to twitter always, right?
>
> Any of you have an idea how can I do this?
>
> Thanks,
>
> Luis Gonçalves
>
> --
> Subscription 
> settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Introduce yourself!

2010-04-20 Thread kovshenin
Konstantin Kovshenin from Moscow, Russia. CTO at a startup called
Frumatic. Founder of a Twitter app called Foller.me. Blog at 
http://kovshenin.com
and tweet at @kovshenin. PHP, WordPress, Amazon EC2, S3, SimpleDB,
etc. Cheers! =)


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Anywhere tweetbox() onComplete?

2010-04-20 Thread kovshenin
Hey, I'm firing the tweetbox() function and everything seems great.
The only thing I'd like to do is set focus to the tweet box as soon as
it loads and it seems to work fine with a few jQuery tricks, but
unfortunatelly requires to use the setTimeout function to focus when
the elements are there. The frame .ready state doesn't show anything,
because it seems that the tweetbox is being built via javascript.
Anyways, I thought there's some onComplete function which I can hook
to when the elements are actually shown in the frame?

Thanks.


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Account Suspension, Retweet Limitations

2009-12-19 Thread kovshenin
Thanks Josh, I'll try and do that

On Dec 19, 2:00 am, Josh Roesslein  wrote:
> You might be running into some sort of anti-spam measure twitter has in place.
> I'd fire off an email to a...@twitter.com and see if they can help.
>
> Josh
>
> On Fri, Dec 18, 2009 at 4:27 PM, kovshenin  wrote:
> > Hey everyone,
>
> > I've recently setup a new account and made it retweet some messages
> > based on hashtags every few seconds. I'm using the new retweets API
> > and I couldn't get passed ~ 35 tweets when Twitter has blocked my
> > account. There was no spam, pornography or any other violation.
>
> > Anybody know if there are any limits to this? I did this twice on two
> > different accounts, both of them blocked. Filed an issue to Twitter
> > Support, still waiting. I'm pretty sure I'm not hitting the API
> > limits.
>
> > Thank you,
> > Konstantin


[twitter-dev] Account Suspension, Retweet Limitations

2009-12-18 Thread kovshenin
Hey everyone,

I've recently setup a new account and made it retweet some messages
based on hashtags every few seconds. I'm using the new retweets API
and I couldn't get passed ~ 35 tweets when Twitter has blocked my
account. There was no spam, pornography or any other violation.

Anybody know if there are any limits to this? I did this twice on two
different accounts, both of them blocked. Filed an issue to Twitter
Support, still waiting. I'm pretty sure I'm not hitting the API
limits.

Thank you,
Konstantin


[twitter-dev] Re: Twitter API: I keep hitting 502 status codes on /statuses/user_timeline

2009-09-23 Thread kovshenin

Here's a sample entry from my logs if that would help you:

23.09.2009 02:51:16 Request: aroundmarketing
23.09.2009 02:51:16 Error code: 502
23.09.2009 02:51:16 API Limit: 19103
23.09.2009 02:51:16 Response: Array
(
[url] => 
http://twitter.com/statuses/user_timeline/aroundmarketing.json?id=aroundmarketing&count=200
[content_type] => text/html; charset=UTF-8
[http_code] => 502
[header_size] => 253
[request_size] => 232
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.954398
[namelookup_time] => 0.020713
[connect_time] => 0.087937
[pretransfer_time] => 0.087948
[size_upload] => 0
[size_download] => 4729
[speed_download] => 2419
[speed_upload] => 0
[download_content_length] => 4729
[upload_content_length] => 0
[starttransfer_time] => 1.874366
[redirect_time] => 0
)

P.S. Both my account and IP address are whitelisted and have 20,000
API calls on each.


[twitter-dev] Twitter API: I keep hitting 502 status codes on /statuses/user_timeline

2009-09-22 Thread kovshenin

Hey there.

Everything was working fine until I got hit by loads of traffic from a
post on Mashable. I started to get way too much 502 errors for the /
statuses/user_timeline method. The API docs say 502 means "Twitter is
down" but Twitter is fine and this has been going on for three days
now.

I have a developer account with 20,000 signed API calls, I output in a
debug log the current limit status plus the error code received. I
haven't gone lower than 16,000 calls left with 502 errors all around.
When applying for a dev account at Twitter I didn't mention my IP
address so I thought it was the problem, but since the API calls are
signed I don't think so.

I double checked with a simple unsigned cURL call from the server, and
get the following response for my IP address: 149/150 and it hasn't
got any lower than that.

Anybody had similar problems?

Thank you,
~ @kovshenin


[twitter-dev] I'd like to get on the Developer for Hire page

2009-07-24 Thread kovshenin

I believe I have to request this, cause requesting a develoeprs
account with the raised limits and whitelisted IP didn't get me into
that list. I'm a Twitter developer and I'd like to be listed there
together with my recent Twitter app called Foller.me (http://
foller.me)

Thank you.


[twitter-dev] Getting multiple user profiles in one call

2009-06-09 Thread kovshenin

Hi.

I'm using the http://twitter.com/friends/ids/ REST call to get 5000
twitter ids of friends, now I'd like to know their locations,
preferably in one API call. Is that possible? Couldn't find a function
that would accept multiple twitter ids and return profiles. Did I miss
anything?

Thanks.