• Register

Social data

/social/:rootId.xml

Returns a single Social entity for a movie or TV series. The data returned includes the program's Root ID and title as well as a list of link nodes containing the link host name and ID and the link URL. 

Request Parameters

Parameter

Mandatory?

Description

seriesId or rootId

Yes

program identifier; accepts TV show's seriesId or movie's root ID (numeric)

api_key

Yes

24-character key obtained during application registration

Sample Request

http://feeds.tmsapi.com/social/9287010.xml?api_key=1234567890

Sample Response

 

<social version="1.0">
<movie>
<rootId>9287010</rootId>
<title>Django Unchained</title>
<links>
<link>
<host id="79625">Facebook</host>
<url>http://www.facebook.com/108187262608717</url>
</link>
<link>
<host id="79629">Wikipedia</host>
<url>http://en.wikipedia.org/w/index.php?curid=31638720</url>
</link>
<link>
<host id="79627">IMDB</host>
<url>http://www.imdb.com/title/tt1853728</url>
</link>
<link>
<host id="79626">Twitter</host>
<url>http://twitter.com/unchainedmovie</url>
</link>
<link>
<host id="79628">Rotten Tomatoes</host>
<url>http://rottentomatoes.com/m/771245718</url>
</link>
<link>
<host id="79628">Rotten Tomatoes_newID</host>
<url>http://rottentomatoes.com/m/771245718</url>
</link>
</links>
</movie>
</social>