Fikun API

Fikun's API Documentation 
« Back to blog

Item Threads

Returns the list of comments for a given review id

URI Resource

http://api.fikun.com/thread/review_id.format

Formats

json, xml, rss, atom, php

Required Parameters

  • review_id — review ID
  • format — format of the response

Optional Parameters

  • sort — STRING: specifies the order of the comments returned. Values accepted are self-explanatory: random, date_desc (default), date_asc
  • offset — INT: specifies the offset of the returned items in the list for that order
  • limit — INT [0-10]: specifies the limit of items to return, default is 5
  • upvoted — BOOL: specifies whether the commenter upvoted the review

Response Values

  • comment_id — comment id
  • comment_link — link to the comment
  • review_id — review id
  • review_link — link to the review
  • item_name — title of the item reviewed
  • item_id — id of the item reviewed
  • item_link — link to the item reviewed
  • date — date the comment was added
  • upvote — whether the commenter upvoted or not the review
  • user — commenter nick
  • user_link — commenter profile link
  • user_avatar — commenter avatar
  • title — comment title
  • comment — comment itself

Example

http://api.fikun.com/thread/1688.json

Will return all comments to review ID 1688

Comments (0)

Leave a comment...