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

Reply via email to