Re: [twitter-dev] Re: 403 on statuses longer than 140 characters
Complete is probably overly optimistic. However for the case of when we return 403s on status updates and how you can tell why we did so the documentation is now more up to date. Enjoy! ---Mark http://twitter.com/mccv On Fri, Mar 19, 2010 at 11:08 PM, Andy Freeman wrote: > I don't suppose that the API documentation will be updated and made > complete > > On Mar 19, 9:52 am, Mark McBride wrote: > > Abraham is correct. We only truncate text in the case of SMS tweets. We > > won't chop text off of tweets when posted via the API, however we will > > shorten URLs if it will get the tweet to fit into 140 characters. > > > > ---Mark > > > > http://twitter.com/mccv > > > > > > > > On Fri, Mar 19, 2010 at 8:52 AM, Abraham Williams <4bra...@gmail.com> > wrote: > > > The URLs might be shortened not the text of the status itself. > > > > > Abraham > > > > > On Thu, Mar 18, 2010 at 22:03, Andy Freeman > wrote: > > > > >> What in the return JSON tells us that you've shortened? > > > > >> For example, are you setting/returning "truncate"? Are you returning > > >> the shortened tweet in "status"? > > > > >> On Mar 18, 12:30 pm, Mark McBride wrote: > > >> > I should clarify. Returning a 403 is what we do right now. Later > today > > >> > (hopefully) we will correct the behavior to return a 200 in this > case. > > >> So > > >> > short story: we'll be doing what you want us to do. > > > > >> > ---Mark > > > > >> >http://twitter.com/mccv > > > > >> > On Thu, Mar 18, 2010 at 11:57 AM, Dewald Pretorius > > >> > wrote: > > > > >> > > In the announcement, Mark said, "...in the case that a long status > can > > >> > > be reduced to under 140 characters by shortening URLs. In this > case > > >> > > we return a 403 but successfully create the status." > > > > >> > > Any chance that you can instead return a 200? > > > > >> > > Returning a 403 while you actually created the status will cause > > >> > > confusion.- Hide quoted text - > > > > >> > - Show quoted text - > > > > >> To unsubscribe from this group, send email to > twitter-development-talk+ > > >> unsubscribegooglegroups.com or reply to this email with the words > "REMOVE > > >> ME" as the subject. > > > > > -- > > > Abraham Williams | Community Advocate |http://abrah.am > > > TwitterOAuth |http://github.com/abraham/twitteroauth > > > This email is: [ ] shareable [x] ask first [ ] private. > > > > > To unsubscribe from this group, send email to twitter-development-talk+ > > > unsubscribegooglegroups.com or reply to this email with the words > "REMOVE > > > ME" as the subject.- Hide quoted text - > > > > - Show quoted text - > > To unsubscribe from this group, send email to twitter-development-talk+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[twitter-dev] Re: 403 on statuses longer than 140 characters
I don't suppose that the API documentation will be updated and made complete On Mar 19, 9:52 am, Mark McBride wrote: > Abraham is correct. We only truncate text in the case of SMS tweets. We > won't chop text off of tweets when posted via the API, however we will > shorten URLs if it will get the tweet to fit into 140 characters. > > ---Mark > > http://twitter.com/mccv > > > > On Fri, Mar 19, 2010 at 8:52 AM, Abraham Williams <4bra...@gmail.com> wrote: > > The URLs might be shortened not the text of the status itself. > > > Abraham > > > On Thu, Mar 18, 2010 at 22:03, Andy Freeman wrote: > > >> What in the return JSON tells us that you've shortened? > > >> For example, are you setting/returning "truncate"? Are you returning > >> the shortened tweet in "status"? > > >> On Mar 18, 12:30 pm, Mark McBride wrote: > >> > I should clarify. Returning a 403 is what we do right now. Later today > >> > (hopefully) we will correct the behavior to return a 200 in this case. > >> So > >> > short story: we'll be doing what you want us to do. > > >> > ---Mark > > >> >http://twitter.com/mccv > > >> > On Thu, Mar 18, 2010 at 11:57 AM, Dewald Pretorius > >> > wrote: > > >> > > In the announcement, Mark said, "...in the case that a long status can > >> > > be reduced to under 140 characters by shortening URLs. In this case > >> > > we return a 403 but successfully create the status." > > >> > > Any chance that you can instead return a 200? > > >> > > Returning a 403 while you actually created the status will cause > >> > > confusion.- Hide quoted text - > > >> > - Show quoted text - > > >> To unsubscribe from this group, send email to twitter-development-talk+ > >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE > >> ME" as the subject. > > > -- > > Abraham Williams | Community Advocate |http://abrah.am > > TwitterOAuth |http://github.com/abraham/twitteroauth > > This email is: [ ] shareable [x] ask first [ ] private. > > > To unsubscribe from this group, send email to twitter-development-talk+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject.- Hide quoted text - > > - Show quoted text - To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [twitter-dev] Re: 403 on statuses longer than 140 characters
Abraham is correct. We only truncate text in the case of SMS tweets. We won't chop text off of tweets when posted via the API, however we will shorten URLs if it will get the tweet to fit into 140 characters. ---Mark http://twitter.com/mccv On Fri, Mar 19, 2010 at 8:52 AM, Abraham Williams <4bra...@gmail.com> wrote: > The URLs might be shortened not the text of the status itself. > > Abraham > > > On Thu, Mar 18, 2010 at 22:03, Andy Freeman wrote: > >> What in the return JSON tells us that you've shortened? >> >> For example, are you setting/returning "truncate"? Are you returning >> the shortened tweet in "status"? >> >> >> >> On Mar 18, 12:30 pm, Mark McBride wrote: >> > I should clarify. Returning a 403 is what we do right now. Later today >> > (hopefully) we will correct the behavior to return a 200 in this case. >> So >> > short story: we'll be doing what you want us to do. >> > >> > ---Mark >> > >> > http://twitter.com/mccv >> > >> > On Thu, Mar 18, 2010 at 11:57 AM, Dewald Pretorius >> > wrote: >> > >> > >> > >> > > In the announcement, Mark said, "...in the case that a long status can >> > > be reduced to under 140 characters by shortening URLs. In this case >> > > we return a 403 but successfully create the status." >> > >> > > Any chance that you can instead return a 200? >> > >> > > Returning a 403 while you actually created the status will cause >> > > confusion.- Hide quoted text - >> > >> > - Show quoted text - >> >> To unsubscribe from this group, send email to twitter-development-talk+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > > > -- > Abraham Williams | Community Advocate | http://abrah.am > TwitterOAuth | http://github.com/abraham/twitteroauth > This email is: [ ] shareable [x] ask first [ ] private. > > To unsubscribe from this group, send email to twitter-development-talk+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [twitter-dev] Re: 403 on statuses longer than 140 characters
The URLs might be shortened not the text of the status itself. Abraham On Thu, Mar 18, 2010 at 22:03, Andy Freeman wrote: > What in the return JSON tells us that you've shortened? > > For example, are you setting/returning "truncate"? Are you returning > the shortened tweet in "status"? > > > > On Mar 18, 12:30 pm, Mark McBride wrote: > > I should clarify. Returning a 403 is what we do right now. Later today > > (hopefully) we will correct the behavior to return a 200 in this case. > So > > short story: we'll be doing what you want us to do. > > > > ---Mark > > > > http://twitter.com/mccv > > > > On Thu, Mar 18, 2010 at 11:57 AM, Dewald Pretorius > > wrote: > > > > > > > > > In the announcement, Mark said, "...in the case that a long status can > > > be reduced to under 140 characters by shortening URLs. In this case > > > we return a 403 but successfully create the status." > > > > > Any chance that you can instead return a 200? > > > > > Returning a 403 while you actually created the status will cause > > > confusion.- Hide quoted text - > > > > - Show quoted text - > > To unsubscribe from this group, send email to twitter-development-talk+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Abraham Williams | Community Advocate | http://abrah.am TwitterOAuth | http://github.com/abraham/twitteroauth This email is: [ ] shareable [x] ask first [ ] private. To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[twitter-dev] Re: 403 on statuses longer than 140 characters
What in the return JSON tells us that you've shortened? For example, are you setting/returning "truncate"? Are you returning the shortened tweet in "status"? On Mar 18, 12:30 pm, Mark McBride wrote: > I should clarify. Returning a 403 is what we do right now. Later today > (hopefully) we will correct the behavior to return a 200 in this case. So > short story: we'll be doing what you want us to do. > > ---Mark > > http://twitter.com/mccv > > On Thu, Mar 18, 2010 at 11:57 AM, Dewald Pretorius > wrote: > > > > > In the announcement, Mark said, "...in the case that a long status can > > be reduced to under 140 characters by shortening URLs. In this case > > we return a 403 but successfully create the status." > > > Any chance that you can instead return a 200? > > > Returning a 403 while you actually created the status will cause > > confusion.- Hide quoted text - > > - Show quoted text - To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.