Re: [twitter-dev] Protect/Unprotect accounts using Twitter API
Hi Gonzalo, There's no way to toggle between protected and unprotected account states via the API -- the only valid way to change the setting is for the user to do it of their own volition using a web browser while logged in to Twitter -- any automation of the submission of that toggle state by POSTing to the page outside of the standard user-browser narrative would be very frowned upon. There is no way to set the protected state of a single tweet. Toggling between the two account-level states effects all tweets issued by that author and changing it for the purposes of a single tweet is inadvisable. I would recommend that you dismiss the idea of manipulating a dynamic protected/unprotected state and pursue an alternative. @episod http://twitter.com/episod - Taylor Singletary On Mon, May 16, 2011 at 12:56 PM, Gonzalo Larralde gonzalolarra...@gmail.com wrote: Hi everyone, Is there any technical way to protect/unprotect accounts using an API call? Or I have to rely on POSTing to Twitter's setting page? I want to put a checkbox in a client to make a single tweet public, by unprotecting the account for a while. Thanks! -- Slds, Gonzalo. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Protect/Unprotect accounts using Twitter API
Hi Taylor, Thanks for you fast and complete answer. There is no way to set the protected state of a single tweet. Toggling between the two account-level states effects all tweets issued by that author and changing it for the purposes of a single tweet is inadvisable. I would recommend that you dismiss the idea of manipulating a dynamic protected/unprotected state and pursue an alternative. I have to disagree with this paragraph. As you've said, the privacy changes affects all tweets stored in an account, but, if you generate a tweet with an unprotected account, it's indexed into the public search, and it's added to the mentions timeline of a mentioned user that is not following the protected account. That's why I want to toggle this state. In order to let an user to participate in public hashtags, or answer/mention an user that is not following him. Anyway, if there's any other method to do that, please point me and I'll be happy to do a research about it :-) Have a nice day! -- Slds, Gonzalo. On Mon, May 16, 2011 at 5:22 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Gonzalo, There's no way to toggle between protected and unprotected account states via the API -- the only valid way to change the setting is for the user to do it of their own volition using a web browser while logged in to Twitter -- any automation of the submission of that toggle state by POSTing to the page outside of the standard user-browser narrative would be very frowned upon. There is no way to set the protected state of a single tweet. Toggling between the two account-level states effects all tweets issued by that author and changing it for the purposes of a single tweet is inadvisable. I would recommend that you dismiss the idea of manipulating a dynamic protected/unprotected state and pursue an alternative. @episod http://twitter.com/episod - Taylor Singletary On Mon, May 16, 2011 at 12:56 PM, Gonzalo Larralde gonzalolarra...@gmail.com wrote: Hi everyone, Is there any technical way to protect/unprotect accounts using an API call? Or I have to rely on POSTing to Twitter's setting page? I want to put a checkbox in a client to make a single tweet public, by unprotecting the account for a while. Thanks! -- Slds, Gonzalo. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Protect/Unprotect accounts using Twitter API
As an aside to this thread... In regards to changing the status of an account from public to private or vice versa, does this only affect the tweets coming after the change or does it change the whole user's timeline past to present? Similarly if an account was private and is toggled to public, do all of the previously private tweets all of a sudden become public or just those starting after the toggle. Similarly if an account is public and toggled to private. thanks -- damonp On Monday, May 16, 2011 at 3:22 PM, Taylor Singletary wrote: There is no way to set the protected state of a single tweet. Toggling between the two account-level states effects all tweets issued by that author and changing it for the purposes of a single tweet is inadvisable. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Protect/Unprotect accounts using Twitter API
When the account is toggled to public, all the tweets are visible to anyone, and can be indexed by any service. But they're not added to twitter's search index. Only the tweets made with the account configured as public are indexed by twitter search. Is the same for mentions. So, if you change the state of the account tu publish one tweet, in the time frame where the account is public, anyone can see your TL. The ideal solution could be a flag at the moment of the status creation, to override the account protection at the moment that Twitter decides if this tweet should be sent or not to the public index. On Mon, May 16, 2011 at 9:15 PM, Damon Parker cartmet...@gmail.com wrote: As an aside to this thread... In regards to changing the status of an account from public to private or vice versa, does this only affect the tweets coming after the change or does it change the whole user's timeline past to present? Similarly if an account was private and is toggled to public, do all of the previously private tweets all of a sudden become public or just those starting after the toggle. Similarly if an account is public and toggled to private. thanks -- damonp On Monday, May 16, 2011 at 3:22 PM, Taylor Singletary wrote: There is no way to set the protected state of a single tweet. Toggling between the two account-level states effects all tweets issued by that author and changing it for the purposes of a single tweet is inadvisable. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk