Re: [twitter-dev] Questions about friendship/create

2011-02-04 Thread Taylor Singletary
This is pretty easy to miss -- notifications in this context enables the
target user to be among those the current user receives SMS notifications
for (if they have that feature enabled) -- it's the equivalent of sending a
POST to notifications/follow for the user.

The default follow behavior on Twitter.com is just the simple POST to
friendships/create you're already doing.

As for include_entities in this context -- probably not necessary unless you
were going to display the just followed user's most recent status and
wanted to use entities to help you render it.

@episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
Advocate


On Thu, Feb 3, 2011 at 10:52 PM, pl plot.l...@gmail.com wrote:

 Can someone descripe what the 'follow' options is actually used for -
 it's described as 'Enable notifications for the target user' but I'm
 not sure what that actually means.

 If I don't include this param, then the friendship gets created, and
 seems to work as expected. What am I missing but not putting this in?

 I'm also not using the 'include_entities' param. That says that these
 will be made a default component of output in the future, so should I
 just add them in now so that nothing changes when this is made the
 default (I've no idea how long this 'in the future' message has been
 there as I've only just started looking at this - could this future
 they speak of still be a very long way off...)

 What would be the values to set this to in order to exactly mirror the
 actions taken by clicking on the 'follow' button within twitter.
 Should they both be missing, both set, or some other combination?

 Thanks in advance for any hints on 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 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] Questions about friendship/create

2011-02-03 Thread pl
Can someone descripe what the 'follow' options is actually used for -
it's described as 'Enable notifications for the target user' but I'm
not sure what that actually means.

If I don't include this param, then the friendship gets created, and
seems to work as expected. What am I missing but not putting this in?

I'm also not using the 'include_entities' param. That says that these
will be made a default component of output in the future, so should I
just add them in now so that nothing changes when this is made the
default (I've no idea how long this 'in the future' message has been
there as I've only just started looking at this - could this future
they speak of still be a very long way off...)

What would be the values to set this to in order to exactly mirror the
actions taken by clicking on the 'follow' button within twitter.
Should they both be missing, both set, or some other combination?

Thanks in advance for any hints on 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