Post サービス
Post サービスを使用すると、投稿へのユーザの割り当て、投稿に対するエンゲージメント種別の設定、投稿へのタグの追加などの操作を実行できます。
投稿の詳細を取得する
コールは、30 秒以下の間隔で実行できます。
コンテンツ、タイトル、著者、公開日など、投稿の詳細を取得します。
1GET /post| パラメータ | 型 | 説明 |
|---|---|---|
| auth_token | HeaderParam | 必須。API で認証から返されるトークンが含まれる要求ヘッダー。 |
| auth_appkey | HeaderParam | 必須。アカウント固有のアプリケーションキー。 |
| url | PathParam | 投稿の URL。 |
例
1http://api.radian6.com/socialcloud/v1/post?url=http://twitter.com
2
3/username/statuses/13...4要求ヘッダー
1GET /socialcloud/v1/post?url HTTP/1.1
2
3Host: api.radian6.com
4
5auth_token: NotARealToken
6
7auth_appkey: NotARealAppKey応答ヘッダー
1HTTP/1.1 200 OK
2
3Date: Thu, 29 Sep 2011 17:17:16 GMT
4
5Content-Type: application/xml
6
7Content-Length: 705
8
9Keep-Alive: timeout=15, max=100
10
11Connection: Keep-Alive応答
1<?xml version="1.0" encoding="iso-8859-1"?>
2
3<PostDetails>
4
5 <blogPost>
6
7 <Post>
8
9 <postId>12....</postId>
10
11 <title>
12
13 <![CDATA[Tweet from username (r6ts) ]]>
14
15 </title>
16
17 <author>
18
19 <![CDATA[username]]>
20
21 </author>
22
23 <content>
24
25 <![CDATA[]]>
26
27 </content>
28
29 <publishedDate>1321898901000</publishedDate>
30
31 <link>
32
33 <![CDATA[http://twitter.com/username/statuses/13.....3]]>
34
35 </link>
36
37 <providerId>10</providerId>
38
39 <mediaTypeId>1</mediaTypeId>
40
41 <languageId>1</languageId>
42
43 <regionId>235</regionId>
44
45 <postStatusId>0</postStatusId>
46
47 </Post>
48
49 </blogPost>
50
51 <blog>
52
53 <blogId>44....7</blogId>
54
55 <title>
56
57 <![CDATA[Twitter / username]]>
58
59 </title>
60
61 <feed>
62
63 <![CDATA[http://twitter.com/statuses/user_timeline/username.atom]]>
64
65 </feed>
66
67 <link>
68
69 <![CDATA[http://twitter.com/username]]>
70
71 </link>
72
73 <languageId>1</languageId>
74
75 <languageAccuracy>0.99</languageAccuracy>
76
77 </blog>
78
79</PostDetails>