API V1 is deprecated, Check out new API V2 here
Shareable Images
shareable_image#show - Generate a shareable image for a comment
Parameters
Name |
Description |
comment_id
|
The ID of the comment you want an image for
|
Request
Route
GET /v1/shareable_image?comment_id=80
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com
Response
Status
302 Found
Headers
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Rate-Limit-Limit: 900
X-Rate-Limit-Remaining: 900
X-Rate-Limit-Reset: 900
Location: https://sharemeow.producthunt.com/v1/eyJjb250ZW50IjoiQm9veWEsIGZpcnN0IGNvbW1lbnQiLCJuYW1lIjoiTmF0aGFuIEJhc2hhdyIsInN1YmplY3RfbmFtZSI6IkRyYWZ0IiwidXNlcl9pZCI6MSwidGVtcGxhdGUiOiJDb21tZW50In0=/tvL_-in1avE5THJCq_RhxPqAfFQ=/image.jpg
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Content-Length: 294