angular - Post Comment using API -
i want add comment using /posts/{id}/comments/add pass parameters post_id, access_token , key , results :
i have registered app in stackapps , set placeholder
{ "items": [ { "owner": { "reputation": 86, "user_id": 8404155, "user_type": "registered", "accept_rate": 83, "profile_image": "https://i.stack.imgur.com/iipfj.png?s=128&g=1", "display_name": "samson", "link": "https://stackoverflow.com/users/8404155/samson" }, "edited": false, "creation_date": 1503046038, "post_id": 8404155, "body": "example comment body" } ], "has_more": false, "quota_max": 10000, "quota_remaining": 9967 }
but comment not displayed in stackoverflow's comment section!! answers regarding of great help!thanks!
set preview equal false , comment displayed in stackoverflow account.
preview can set false here perform test on api.
Comments
Post a Comment