mirror of
https://github.com/friendica/friendica
synced 2024-11-20 11:43:41 +00:00
API: Tweetdeck is now working
This commit is contained in:
parent
269f21ddc1
commit
894e126c55
2 changed files with 51 additions and 54 deletions
|
@ -1,22 +1,19 @@
|
||||||
<statuses type="array">
|
<statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/">
|
||||||
{{ for $statuses as $status }}
|
{{ for $statuses as $status }} <status>
|
||||||
<status>
|
<text>$status.text</text>
|
||||||
<created_at>$status.created_at</created_at>
|
<truncated>$status.truncated</truncated>
|
||||||
<id>$status.id</id>
|
<created_at>$status.created_at</created_at>
|
||||||
<text>$status.text</text>
|
<in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id>
|
||||||
<statusnet_html>$status.statusnet_html</statusnet_html>
|
<source>$status.source</source>
|
||||||
<source>$status.source</source>
|
<id>$status.id</id>
|
||||||
<truncated>$status.truncated</truncated>
|
<in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id>
|
||||||
<url>$status.url</url>
|
<in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name>
|
||||||
<in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id>
|
<geo>$status.geo</geo>
|
||||||
<in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id>
|
<favorited>$status.favorited</favorited>
|
||||||
<favorited>$status.favorited</favorited>
|
{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} <statusnet:html>$status.statusnet_html</statusnet:html>
|
||||||
<in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name>
|
<url>$status.url</url>
|
||||||
<geo>$status.geo</geo>
|
<coordinates>$status.coordinates</coordinates>
|
||||||
<coordinates>$status.coordinates</coordinates>
|
<place>$status.place</place>
|
||||||
<place>$status.place</place>
|
<contributors>$status.contributors</contributors>
|
||||||
<contributors>$status.contributors</contributors>
|
</status>
|
||||||
{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }}
|
{{ endfor }}</statuses>
|
||||||
</status>
|
|
||||||
{{ endfor }}
|
|
||||||
</statuses>
|
|
||||||
|
|
|
@ -1,34 +1,34 @@
|
||||||
<user>
|
<user>
|
||||||
<id>$user.id</id>
|
<id>$user.id</id>
|
||||||
<name>$user.name</name>
|
<name>$user.name</name>
|
||||||
<screen_name>$user.screen_name</screen_name>
|
<screen_name>$user.screen_name</screen_name>
|
||||||
<location>$user.location</location>
|
<location>$user.location</location>
|
||||||
<description>$user.description</description>
|
<description>$user.description</description>
|
||||||
<profile_image_url>$user.profile_image_url</profile_image_url>
|
<profile_image_url>$user.profile_image_url</profile_image_url>
|
||||||
<url>$user.url</url>
|
<url>$user.url</url>
|
||||||
<protected>$user.protected</protected>
|
<protected>$user.protected</protected>
|
||||||
<followers_count>$user.followers_count</followers_count>
|
<followers_count>$user.followers_count</followers_count>
|
||||||
<profile_background_color>$user.profile_background_color</profile_background_color>
|
<friends_count>$user.friends_count</friends_count>
|
||||||
<profile_text_color>$user.profile_text_color</profile_text_color>
|
<created_at>$user.created_at</created_at>
|
||||||
<profile_link_color>$user.profile_link_color</profile_link_color>
|
<favourites_count>$user.favourites_count</favourites_count>
|
||||||
<profile_sidebar_fill_color>$user.profile_sidebar_fill_color</profile_sidebar_fill_color>
|
<utc_offset>$user.utc_offset</utc_offset>
|
||||||
<profile_sidebar_border_color>$user.profile_sidebar_border_color</profile_sidebar_border_color>
|
<time_zone>$user.time_zone</time_zone>
|
||||||
<friends_count>$user.friends_count</friends_count>
|
<statuses_count>$user.statuses_count</statuses_count>
|
||||||
<created_at>$user.created_at</created_at>
|
<following>$user.following</following>
|
||||||
<favourites_count>$user.favourites_count</favourites_count>
|
<profile_background_color>$user.profile_background_color</profile_background_color>
|
||||||
<utc_offset>$user.utc_offset</utc_offset>
|
<profile_text_color>$user.profile_text_color</profile_text_color>
|
||||||
<time_zone>$user.time_zone</time_zone>
|
<profile_link_color>$user.profile_link_color</profile_link_color>
|
||||||
<profile_background_image_url>$user.profile_background_image_url</profile_background_image_url>
|
<profile_sidebar_fill_color>$user.profile_sidebar_fill_color</profile_sidebar_fill_color>
|
||||||
<profile_background_tile>$user.profile_background_tile</profile_background_tile>
|
<profile_sidebar_border_color>$user.profile_sidebar_border_color</profile_sidebar_border_color>
|
||||||
<profile_use_background_image>$user.profile_use_background_image</profile_use_background_image>
|
<profile_background_image_url>$user.profile_background_image_url</profile_background_image_url>
|
||||||
<notifications>$user.notifications</notifications>
|
<profile_background_tile>$user.profile_background_tile</profile_background_tile>
|
||||||
<geo_enabled>$user.geo_enabled</geo_enabled>
|
<profile_use_background_image>$user.profile_use_background_image</profile_use_background_image>
|
||||||
<verified>$user.verified</verified>
|
<notifications>$user.notifications</notifications>
|
||||||
<following>$user.following</following>
|
<geo_enabled>$user.geo_enabled</geo_enabled>
|
||||||
<statuses_count>$user.statuses_count</statuses_count>
|
<verified>$user.verified</verified>
|
||||||
<lang>$user.lang</lang>
|
<lang>$user.lang</lang>
|
||||||
<contributors_enabled>$user.contributors_enabled</contributors_enabled>
|
<contributors_enabled>$user.contributors_enabled</contributors_enabled>
|
||||||
<status>{{ if $user.status }}
|
<status>{{ if $user.status }}
|
||||||
<created_at>$user.status.created_at</created_at>
|
<created_at>$user.status.created_at</created_at>
|
||||||
<id>$user.status.id</id>
|
<id>$user.status.id</id>
|
||||||
<text>$user.status.text</text>
|
<text>$user.status.text</text>
|
||||||
|
@ -43,4 +43,4 @@
|
||||||
<place>$user.status.place</place>
|
<place>$user.status.place</place>
|
||||||
<contributors>$user.status.contributors</contributors>
|
<contributors>$user.status.contributors</contributors>
|
||||||
{{ endif }}</status>
|
{{ endif }}</status>
|
||||||
</user>
|
</user>
|
||||||
|
|
Loading…
Reference in a new issue