I've never looked at entities but I turn URLs into links using this:
$linkedtext = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","\\0", $tweet['statustext']);
On Tue, Jul 12, 2011 at 10:30 AM, Adam Green <140...@gmail.com> wrote:
> Every PHP app that displays tweets needs to apply th
Hi Adam,
Did you see this? I haven't tested it. Just was curious to look around after
your post.
http://stackoverflow.com/questions/1550950/detect-chinese-multibyte-character-in-the-string
Matt Terenzio
On Thu, Mar 24, 2011 at 10:50 AM, Adam Green <140...@gmail.com> wrote:
> This has been a pr
uot;. Yet, due to
> massive litigation.
>
>
> Best,
>
> --
> Edward H. Hotchkiss
> http://www.edwardhotchkiss.com/
> http://www.twitter.com/edwardhotchkiss/
> ------
>
>
>
> On Nov 18, 2010, at 2:26 PM, Matthew Terenzio wrote:
>
> We h
wouldn't be breaking any laws.
But who cares.
In the future, if you want to access the Twitter data for such usage with
any sort of speed you will pay to do so. It won't even be worth the headache
if you can devise an alternative.
On Thu, Nov 18, 2010 at 11:35 PM, Matthew Terenzio wrote:
I don't care what your newsletter says. I'm talking about American law.
On Thu, Nov 18, 2010 at 11:28 PM, L. Mohan Arun wrote:
> "We have every right in the world to gather this data for analysis
> without
> any permission. It's public."
>
> No.
>
> "You don't get to compile posts from a discuss
We have every right in the world to gather this data for analysis without
any permission. It's public. Redistributing it will be subject to fair use
and copyright law but not gathering it and making broad analysis. That is
what search engines do and so far the courts have said they have a right to
Yes, for the streaming api,
http://dev.twitter.com/pages/streaming_api
but it sounds like you may want the search api which doesn't require
authentication:
http://dev.twitter.com/doc/get/search
On Thu, Oct 7, 2010 at 12:49 PM, D. Smith wrote:
> Hello! I want to start using streaming API to m
where
> multiple users interact. Instead the something like the Site Streams
> service (currently in beta) could be better suited.
>
>
>
> On Wed, Oct 6, 2010 at 5:18 PM, Matthew Terenzio
> wrote:
> > So yes, I was correct (at least with search) that a web based solution i
d the allowed sampling rate (1% etc).
>
> I hope that clarifies how the rate limits apply.
>
> Best
> @themattharris
> Developer Advocate, Twitter
> http://twitter.com/themattharris
>
>
>
> On Wed, Oct 6, 2010 at 3:28 PM, Matthew Terenzio
> wrote:
> >
>
n as a user. I
know that is the case for the REST api in most cases but I'm talking about
streaming and search.
>
> Tom
>
>
> On Oct 6, 2010, at 11:39 PM, Matthew Terenzio wrote:
>
>
>
>> There would be one more issue which requires mentioning: JavaScript
>
> There would be one more issue which requires mentioning: JavaScript's
> "Same-origin policy". You can't make a request directly to the Twitter
> API via JavaScript: you *will* need a proxy on your own server.
>
>
Which seems to put web developers at a sever disadvantage for search and
streaming
If my app has 1000 users and each one wants to do a unique search once an
hour it seems like that is beyond what is being suggested. Even if I use the
streaming api and filters, it looks like I could only have a couple hundred
users. (
Am I missing some technique because it doesn't seem like you c
What is the per page limit of statuses returned on the:
http://dev.twitter.com/doc/get/:user/lists/:id/statuses
method?
Also, if since_id is passed, how many will be returned in a page by default
(if the amount returned is greater than the default)?
Thanks,
Matt
--
Twitter developer document
++ I only recommend EpiTwitter to folks as a PHP library now, ++
It's solid.
On Sat, Sep 4, 2010 at 6:15 PM, Scott Wilcox wrote:
> Haha, that can only lead to a better experience for the end users. For what
> its worth, I only recommend EpiTwitter to folks as a PHP library now, and
> quite the
Wheras formerly you must have supplied the Company's Twitter account
username and password, you will now need to supply the OAuth credentials of
the company account.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials
If the case happens to be you were using thir
Try screen_name instead of userid. I'm not certain but it rings a bell. Not
that it shouldn't work with id, of course.
On Tue, Aug 24, 2010 at 8:49 PM, bear wrote:
> Using oAuth I am making the following call:
>
> POST /1/userid/3968155/subscribers.json
>
> where userid is the user whose oAuth t
I'm getting problems on the return as well.
On Mon, Jul 19, 2010 at 2:55 PM, nischalshetty wrote:
> My apps getting 'user has not given permission' and this is by the
> hundreds! I presume the oAuth API is having issues!
The redirect back to my site from the OAuth allow page always hangs.
Clicking on the link results in sending the user back to the correct page.
Trying to figure out how that could be on my end, but I can't see it. It
fails 100% of the time, or so it seems.
Google Analytics is javascript based which means a browser or some
environment that can execute JS needs to open a page for a "pageview"
There are many more HTTP requests for a given URL. Bots, spiders,
aggregators etc.
Since Bit.ly and other shorteners are doing 301 redirects, they can't really
On Thu, Jan 21, 2010 at 1:00 PM, Lloyd England wrote:
> Hi, quick question which I cannot find an answer for anywhere - how do
> you find the ID of a twitter list?
>
>
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-id
> Thanks!
>
There MAY also be an issue with how a DELETE request is formed. Try putting
the parameters in the query string if you aren't. That seemed to make it
work for me when it wasn't.
On Tue, Dec 15, 2009 at 6:11 PM, Abraham Williams <4bra...@gmail.com> wrote:
> The proper method is with DELETE and no _
I SEEM to be getting a zero member count from a list where the only member
is the owner of said list.
Once I added another member to the list, the member count was 2.
Anyone else notice this? Still trying to verify it's not on my end.
Can someone explain this?
GET '/:users/lists/:list_slug.:format'
Show a specific list you can use the new resource.
+1
On Sat, Oct 31, 2009 at 11:10 PM, Dave Winer wrote:
>
> It would be useful if a had a lists_count element, in addition
> to the other counts (followers, statuses, favourites).
>
> If in fact URL shortening is possible via the API, then there should at
>> least be an option to suppress it.
>>
> I have seen the API shorten URLs that I have already shortened which has
caused problems but I never got an answer on what the rules were because I
have also noticede some longer URL
> Yes, you need to ask twitter to fix that. They are using our api, but
> obviously, they are encoding the ")" after the .jpg. Thanks for
> letting us know, but yes, this is a twitter issue.
>
>
Good luck with that. Since it is acceptable to have the unencoded )
character in a URL, I don't know ho
26 matches
Mail list logo