link
POST /link
Attach a link
Example URI
h3. Parameters
Parameter |
Type |
Require ? |
Description |
---|---|---|---|
valurl |
string |
yes |
Link to attach |
valtext |
string |
no |
Text of feed |
valmodule |
string |
no |
Support attach link to module item feed (pages/groups) |
valitem_id |
numbwe |
no |
Support attach link to module item feed (pages/groups) |
custom_pages_post_as_page |
number |
no |
Support attach link as page |
valuser_id |
number |
id |
Support attach link on user profile |
Response
{ "status": "success", "data": { "feed_id": "15", "privacy": "0", "privacy_comment": "0", "type_id": "link", "user_id": "1", "parent_user_id": "1", "item_id": "17", "time_stamp": "1481887454", "parent_feed_id": "0", "parent_module_id": null, "time_update": "1481887454", "content": null, "total_view": "0", "can_post_comment": true, "feed_title": "[OFFICIAL VIDEO] Hallelujah - Pentatonix - YouTube", "feed_status": "Great song for Christmas", "feed_link": "http://example.com/admin/?link-id=17", "feed_is_liked": false, "feed_icon": "<img src=\"http://example.com/PF.Base/theme/frontend/default/style/default/image/feed/link.png\">", "enable_like": true, "likes": [], "feed_like_phrase": "" }, "messages": [ "Link successfully attached." ] }