Could I ask the Twitter devs to cast some light on the Xml output from
friendsships show? Some of it is a little confusing or misleading I
thinnk. Here's a real-world sample response I just received:
<relationship>
<target>
<following type="boolean">true</following>
<id_str>58770203</id_str>
<screen_name>harrismonkey</screen_name>
<id type="integer">58770203</id>
<followed_by type="boolean">true</followed_by>
</target>
<source>
<following type="boolean">true</following>
<blocking nil="true"/>
<notifications_enabled nil="true"/>
<can_dm type="boolean">true</can_dm>
<id_str>19742345</id_str>
<screen_name>timskipper</screen_name>
<want_retweets nil="true"/>
<marked_spam nil="true"/>
<id type="integer">19742345</id>
<all_replies nil="true"/>
<followed_by type="boolean">true</followed_by>
</source>
</relationship>
My confusion arises with the nodes which have a "nil" attribute. What
is this trying to say? For example, /relationship/source/blocking has
not valye, but a nil=true attribute. Is this source blocking the
target or not?
Some clarity would be much appreciated!
Regards,
Tim Skipper
--
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