[twitter-dev] Re: Follower analysis without whitelisting breaks limits?

2011-02-20 Thread Orian Marx (@orian)
I don't know what the current state of this is but it looks like Site
Streams will support unfollow events for this purpose:
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/74ae054ec728e6dc

On Feb 18, 5:11 pm, Jo  wrote:
> It seems as if no one at twitter as an answer or a solution on this.
> That's bad...
> Or are they still thinking about it?
>
> Cheers.
> Jo Seibert
>
> On 15 Feb., 11:03, Dewald Pretorius  wrote:
>
>
>
>
>
>
>
> > Thanks Tim. So the point is, we still need to rely on the follower ids
> > list API method if we want to maintain an up to date picture of an
> > account's followers. For larger accounts this becomes impractical with
> > a limit of 350 calls per hour.
>
> > On Feb 15, 4:13 am, Tim Haines  wrote:
>
> > > It sends you an event when our subject user follows someone else, 
> > > unfollows
> > > someone else, or when they are followed by someone else.  It does not send
> > > an event when they are unfollowed by someone else.
>
> > > Tim.
>
> > > On Tue, Feb 15, 2011 at 3:08 AM, Dewald Pretorius  
> > > wrote:
> > > > If I remember correctly, Site Streams sends you a transaction only
> > > > when the user follows another user (adding to Following). It does not
> > > > send you a transaction when someone else follows that user (adding to
> > > > Followers). I don't know if this work the same in User Streams.
> > > > Clarification by Twitter will be appreciated.
>
> > > > On Feb 14, 12:38 pm, David Giamanco  wrote:
> > > > > I believe the new way to do this is to initially call the REST API to 
> > > > > get
> > > > > all of the ids for the first time you process this user. Then you 
> > > > > setup a
> > > > > User Stream on the user and process any requests that come in through
> > > > there.
> > > > > For your uses, if you only show users the differences in follower 
> > > > > counts
> > > > > then you don't need the initial call to the REST API to collect all 
> > > > > ids.
> > > > All
> > > > > you need is a count of the ids and then to initiate a User Stream. The
> > > > User
> > > > > Stream will give you the differences in real time and you can store 
> > > > > just
> > > > the
> > > > > differences, instead of the entire set of ids.
>
> > > > > David Giamanco
>
> > > > --
> > > > 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] Tweet Buttons and iFrames

2011-02-20 Thread Rouven Weßling
Hello everybody,

I have written a plug-in for Joomla adding a tweet button to articles.
I've used the url method to create my own button.

To make the Joomla integration even better, I'd like to use the Modal
system built into Joomla. The only way to do so is to open the "Share
this" window into an iframe. Unfortunately all Twitter pages set the
"X-Frame-Options:SAMEORIGIN" header, preventing to open any page
inside a frame. This is for most pages understandable, but could this
restriction be lifted on http://twitter.com/share ?

Best regards
Rouven Weßling

-- 
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: Question about REST API design (not strictly Twitter related)

2011-02-20 Thread craigpierce
That looks like it might just be what I needed - THX :)

On Feb 20, 11:54 am, Nikita Kovshov  wrote:
> Hi,
>
> you can use mod_rewrite module for Apache:
> beginner's guide -http://articles.sitepoint.com/article/guide-url-rewriting
> essential guide -http://httpd.apache.org/docs/current/mod/mod_rewrite.html
>
> On Feb 20, 10:24 pm, craigpierce  wrote:
>
> > Hello All -
>
> > I'll try to keep this brief - I'm sure the answer is simple but I just
> > don't get it...
>
> > I'm looking to build a simple API similar to Twitter's (I don't care
> > whether it's actually considered RESTful or not - I'm just calling it
> > that), but there is one thing that NO ONE explains: how the *actual*
> > folder structure works...
>
> > Example:
>
> >http://www.url.com/api/user/123/
>
> > Let's say that's my URL to get user info for user ID '123'; does there
> > need to be a folder called 'api' with a folder called 'user' with a
> > folder for each and every user ID, each with its own index.php file in
> > it that returns that user's data? Surely not (especially when you're
> > Twitter with 100 million users and billions of tweets to deal with),
> > but how else could this work?
>
> > Thanks so much - sorry for the OT thread...

-- 
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: Problem with "tweet_button" and &

2011-02-20 Thread Nikita Kovshov
Hi Sidv,

You need to urlencode properties:

"http://link.com/viewtopic.php?f=23&t=239";
to
"http%3a%2f%2flink.com%2fviewtopic.php%3ff%3d23%26t%3d239"

result:
http://twitter.com/share?url=http%3A%2F%2Flink.com%2Fviewtopic.php%3Ff%3D23%26t%3D239&%3Bvia=username&%3Blang=en&%3Btext=blabla

On Feb 20, 6:17 am, SidV  wrote:
> Hi, I have one question about the tweet_button... (http://
> dev.twitter.com/pages/tweet_button)
>
> I've been trying to use this 
> link:http://twitter.com/share?url=http%3A%2F%2Flink.com&via=username&a...
>
> And it's work... but, what if the URL link has "&" in the url?
> For example:http://link.com/viewtopic.php?f=23&t=239
>
> If I try to use that link, the "popup box" will redirec 
> to:http://link.com/viewtopic.php?f=23
>
> Can u understand me? The sistem cut the link, doesn't recognize the
> last part: "&t=239".
>
> How can I fix this?

-- 
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: Question about REST API design (not strictly Twitter related)

2011-02-20 Thread Nikita Kovshov
Hi,

you can use mod_rewrite module for Apache:
beginner's guide - http://articles.sitepoint.com/article/guide-url-rewriting
essential guide - http://httpd.apache.org/docs/current/mod/mod_rewrite.html



On Feb 20, 10:24 pm, craigpierce  wrote:
> Hello All -
>
> I'll try to keep this brief - I'm sure the answer is simple but I just
> don't get it...
>
> I'm looking to build a simple API similar to Twitter's (I don't care
> whether it's actually considered RESTful or not - I'm just calling it
> that), but there is one thing that NO ONE explains: how the *actual*
> folder structure works...
>
> Example:
>
> http://www.url.com/api/user/123/
>
> Let's say that's my URL to get user info for user ID '123'; does there
> need to be a folder called 'api' with a folder called 'user' with a
> folder for each and every user ID, each with its own index.php file in
> it that returns that user's data? Surely not (especially when you're
> Twitter with 100 million users and billions of tweets to deal with),
> but how else could this work?
>
> Thanks so much - sorry for the OT thread...

-- 
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] Question about REST API design (not strictly Twitter related)

2011-02-20 Thread craigpierce
Hello All -

I'll try to keep this brief - I'm sure the answer is simple but I just
don't get it...

I'm looking to build a simple API similar to Twitter's (I don't care
whether it's actually considered RESTful or not - I'm just calling it
that), but there is one thing that NO ONE explains: how the *actual*
folder structure works...

Example:

http://www.url.com/api/user/123/

Let's say that's my URL to get user info for user ID '123'; does there
need to be a folder called 'api' with a folder called 'user' with a
folder for each and every user ID, each with its own index.php file in
it that returns that user's data? Surely not (especially when you're
Twitter with 100 million users and billions of tweets to deal with),
but how else could this work?

Thanks so much - sorry for the OT thread...

-- 
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] Problem with "tweet_button" and &

2011-02-20 Thread SidV
Hi, I have one question about the tweet_button... (http://
dev.twitter.com/pages/tweet_button)

I've been trying to use this link:
http://twitter.com/share?url=http%3A%2F%2Flink.com&via=username&lang=en&text=blabla

And it's work... but, what if the URL link has "&" in the url?
For example:
http://link.com/viewtopic.php?f=23&t=239

If I try to use that link, the "popup box" will redirec to:
http://link.com/viewtopic.php?f=23

Can u understand me? The sistem cut the link, doesn't recognize the
last part: "&t=239".

How can I fix this?

-- 
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] Twitter4J 2.1.12 released - with less bugs, a few improvements

2011-02-20 Thread Yusuke Yamamoto
Hi all,

Twitter4J is an unofficial, open-sourced, mavenized and Google App 
Engine/Android ready Java library for the Twitter API released under the BSD 
license.
Please note that Twitter4J is an independent open-source project, and is not 
sponsored or affiliated by Twitter.com.
For Twtter4J specific issues/questions, please use the Twitter4J mailing list 
(NOT twitter-development-talk).
http://twitter4j.org/en/index.html#mailingList

I'm pleased to announce the immediate availability of Twitter4J version 2.1.12
This version includes many bug fixes and improvements towards version 2.2.x.

- Download:
http://twitter4j.org/en/index.html#download

- Release Notes:
http://tinyurl.com/TFJ2112

This release will soon be available at the Maven central repository.
http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/

Please refer the Support API matrix for supported methods.
http://twitter4j.org/en/api-support.html

Thanks,
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

-- 
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: Streaming API vs. Search API: no API returns >95% of intented tweets

2011-02-20 Thread Karussell
Thanks for the update John!

On 18 Feb., 19:08, John Kalucki  wrote:
> http://dev.twitter.com/pages/streaming_api_concepts#result-quality
>
> Search filters for relevance and is not intended as a source of all tweets.
> Streaming provides the complete record to all you to perform whatever
> post-processing you'd like.
>
> -John Kaluckihttp://twitter.com/jkalucki
> Twitter, Inc.
>
> On Thu, Feb 17, 2011 at 12:15 AM, Karussell 
> wrote:
>
> > Hi Matt,
>
> > sorry for being unspecific. By 'only in async' I meant tweets which
> > were only found by the streaming API ('asynchronous retrieval') but
> > were not in the search results **
>
> > Why are they missing when using search API?
>
> > > Also can you give an example of what you mean by a long Tweet.
>
> > I investingated this a bit more and it seems to be intendend (?):
> > these tweets are 'only' retweets. As example here is one too short
> > tweet returned from the streaming API:
>
> > RT @bcoders: Episode 33 onsite from @JFokus with @neal4d @nicksieger
> > @brjavaman & Kirk Pepperdine is out!http://bit.ly/eikmux"is
> > #Java ...
>
> > and the same tweet (id == 37959896615886848) was more complete when
> > returned from the search API:
>
> > RT @bcoders: Episode 33 onsite from @JFokus with @neal4d @nicksieger
> > @brjavaman & Kirk Pepperdine is out!http://bit.ly/eikmux"is #Java a
> > dead-end?"
>
> > So, when I use search API I'll miss tweets and when using streaming
> > API I'll miss text? Do I need to use both?
>
> > Regards,
> > Peter.
>
> > **
> > 37952879822110720 Architecte Java J2EE: Priorité sera donnée à un
> > candidat de la région nantaise. Merci de tran...http://bit.ly/dQhIoK
> > #freelance #offres
> > 37954149668622336 به روز رسانی: Nimbuzz اکنون با پشتیبانی از اتصال
> > رسمی API فیس بوکhttp://t.co/ICgTAXX
> > 37954912847400960 『Java Hangs When Converting 2.2250738585072012e-308』
> >http://zennin.blog55.fc2.com/blog-entry-2773.html
> > 37956641609621504 Mastering Grails: Grails in the enterprise
> >https://www.ibm.com/developerworks/java/library/j-grails12168/#grails
> > 37956994061176832 NEW! FileNet - Java/J2EE Developer - Vigilant
> > Technologies:  ( #Columbus , OH)http://bit.ly/e6ULEw#OpenSource
> > #Jobs #Job #TweetMyJOBS
> > 37957325557989376 After a day of Java programming in Eclipse, C++
> > programming in Visual Studio just feels slow and crappy :(
>
> > more examples in the given file:
> >https://github.com/karussell/TestTwitterAPI/blob/master/discrepancy.txt
>
> > --
> > 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