No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Blog サービス
Blog サービスを使用すると、特定サイトの投稿のリストを取得したり、サイトにメモを追加するなどの操作を実行できます。
ブログの詳細を取得する
ワークフローの詳細を含む、特定サイトの投稿のリストを取得します。
1GET /blog/workflow/{blogId}/{topicId}| パラメータ | 型 | 説明 |
|---|---|---|
| auth_token | HeaderParam | 必須。API で認証から返されるトークンが含まれる要求ヘッダー。 |
| auth_appkey | HeaderParam | 必須。アカウント固有のアプリケーションキー。 |
| blogId | PathParam | 投稿の取得対象のブログ ID。 |
| topicId | PathParam | トピック ID のカンマ区切りリスト。 |
| maxPostCount | QueryParam | 要求ごとに返す投稿の総数。 |
| pageNum | QueryParam | 投稿を返すページのインデックス。たとえば、要求に対する投稿の総数が (maxPostCount パラメータで指定された) 投稿の最大数を超えた場合、現在の要求で返されない超過分の投稿を取得するためにページ番号を増分できます。 |
例
1http://api.radian6.com/socialcloud/v1/blog/workflow/5...5/2...7要求ヘッダー
1GET /socialcloud/v1/blog/workflow/{blogId}/{topicId} HTTP/1.1
2Host: api.radian6.com
3auth_token: NotARealToken
4auth_appkey: NotARealAppKey応答ヘッダー
1HTTP/1.1 200 OK
2Date: Thu, 29 Sep 2011 17:17:16 GMT
3Content-Type: application/xml
4Content-Length: 705
5Keep-Alive: timeout=15, max=100
6Connection: Keep-Alive応答
1<?xml version="1.0" encoding="UTF-8"?>
2<radian6_RiverOfNews_export>
3 <report_date>2012-07-11 02:24:04 +1200</report_date>
4 <user_name>Jane.Smith@...</user_name>
5 <RoN_sort_order>publishedDate</RoN_sort_order>
6 <article_count>1</article_count>
7 <total_article_count>1</total_article_count>
8 <article ID="2...3">
9 <description charset="UTF-8">
10 <headline>
11 <![CDATA[Post from Facebook user]]>
12 </headline>
13 <author fbid="17...9" externalId="17...9">
14 <![CDATA[Facebook user]]>
15 </author>
16 <recipient>
17 <![CDATA[None]]>
18 </recipient>
19 <content>
20 <![CDATA[Facebook post content...]]>
21 </content>
22 <external_id>17...9_22...4</external_id>
23 </description>
24 <source ID="1...2">
25 <![CDATA[Post from Facebook user]]>
26 </source>
27 <host>
28 <![CDATA[www.facebook.com]]>
29 </host>
30 <article_url>
31 <![CDATA[http://www.facebook.com/permalink.php?story_fbid=22...4&id=17...9]]>
32 </article_url>
33 <media_provider>facebook.com Discussions</media_provider>
34 <media_type_id>12</media_type_id>
35 <language_id>1</language_id>
36 <spam_rating>0</spam_rating>
37 <publish_date epoch="1341886037000">2012-07-10 14:07:17 +1200</publish_date>
38 <harvest_date epoch="1341886905000">2012-07-10 14:21:45 +1200</harvest_date>
39 <PostDynamicsIteration>
40 <PostDynamicsDefinition>
41 <fieldId>21</fieldId>
42 <label>Sentiment</label>
43 <shortLabel>S</shortLabel>
44 <sortOrder>1</sortOrder>
45 <value>
46 <![CDATA[2860,0]]>
47 </value>
48 <exceptionValue>2860,false</exceptionValue>
49 <reportValue>Neutral</reportValue>
50 <tooltip/>
51 </PostDynamicsDefinition>
52 <reportFormatedData>
53 <![CDATA[<span style="font-weight:bold; color: #FF9900; font-size: 11pt"> Sentiment: </span>Neutral ]]>
54 </reportFormatedData>
55 </PostDynamicsIteration>
56 </article>
57</radian6_RiverOfNews_export>