romdim Dylan conway

Comment Mapping

Mapping connections names and properties

OPENi Facebook YouTube Instagram Twitter Foursquare Runkeeper Flickr Skydrive
[comment] Comment Required at activities.comment Required at comment Required at tweet (re-tweet) Required at comment Required at comment Required at photos.comment Required at comment Required at
Properties Properties Method Properties Method Properties Method Properties Method Properties Method Properties Method Properties Method
id id GET resourceId id GET,POST
object_type
url uri GET,POST
service
{[Set of Properties]#From}:id
{[Set of Properties]#From}:object_type
{[Set of Properties]#From}:url
{[Set of Properties]#From}:name
{[Set of Properties]#Time}:created_time
{[Set of Properties]#Time}:edited_time
{[Set of Properties]#Time}:deleted_time
title -
text message POST text comment
target_id videoId in_reply_to_status_id uri (of the comment thread)

Methods

These methods are common for all Activity objects (actually they are not related to any Activity objects).

Method OPENi Facebook
Get comments for a specific account
API_PATH/{ACCOUNT_ID}/comments
GET graph.facebook.com/{ACCOUNT_ID}/comments
Get a type of comment across multiple accounts, for a specific OPENi user
GET API_PATH/me/comments
GET graph.facebook.com/me/comments

Checkin

Method OPENi Facebook
Get comments from an Checkin object
API_PATH/{CHECKIN_ID}/comments
GET graph.facebook.com/{POST_ID}/comments
Post a comment to an Checkin object
POST API_PATH/{CHECKIN_ID}/comments
POST graph.facebook.com/{POST_ID}/comments
Delete a comment from an Checkin object
DELETE API_PATH/{CHECKIN_ID}/comments
-

Note

Method OPENi Facebook
Get comments from an Note object
API_PATH/{NOTE_ID}/comments
GET graph.facebook.com/{NOTE_ID}/comments
Post a comment to an Note object
POST API_PATH/{NOTE_ID}/comments
POST graph.facebook.com/{NOTE_ID}/comments
Delete a comment from an Note object
DELETE API_PATH/{NOTE_ID}/comments
DELETE graph.facebook.com/{NOTE_ID}/comments

Status

Method OPENi Facebook
Get comments from an Status object
API_PATH/{STATUS_ID}/comments
GET graph.facebook.com/{STATUS_ID}/comments
GET api.twitter.com/1.1/statuses/retweets/{TWEET_ID}.json
Post a comment to an Status object
POST API_PATH/{STATUS_ID}/comments
POST graph.facebook.com/{STATUS_ID}/comments
POST twitter.com/1.1/statuses/retweet/{TWEET_ID}.json
Delete a comment from an Status object
DELETE API_PATH/{STATUS_ID}/comments
-
POST api.twitter.com/1.1/statuses/destroy/{RETWEET_ID}.json

Workout

Method OPENi RunKeeper
Get comments from a workout object
API_PATH/{WORKOUT_ID}/comments
*
GET GET COMMENT_THREAD_URI HTTP/1.1
Host: api.runkeeper.com
Authorization: Bearer xxxxxxxxxxxxxxxx
Content-Type: application/vnd.com.runkeeper.Comment+json*
Post a comment to a workout object
POST API_PATH/{WORKOUT_ID}/comments
*
 POST COMMENT_THREAD_URI HTTP/1.1
Host: api.runkeeper.com
Authorization: Bearer xxxxxxxxxxxxxxxx
Content-Type: application/vnd.com.runkeeper.Comment+json*
Delete a comment from a workout object
DELETE API_PATH/{WORKOUT_ID}/comments
-

Note: A RunKeeper comment thread (COMMENT_THREAD_URI) is linked with an activity via the comment field in each Activity item.


Related

Wiki: Set of Properties
Wiki: comment
Wiki: Activity API
Wiki: Media API