Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bulk Kudos to posts in the Community

Hello All,

 

Is there any way in the Khoros community where we can give kudos to posts on behalf of a user? we didn't find any option in the community Admin or in the API.

 

Any suggestions will be really appreciated  

 

 

 
1 Reply 1
Boss

@AbhishekIlindra ,

There is a way to do that using external API calls.

From any external service, first of all you need to create session on the behalf of other user, then you can hit the Kudos API from the session token  generated for that user.

You can use any API version API V1 or V2.

V1:
https://community.lithium.com/restapi/vc/messages/id/1271/kudos/give

V2:

https://developer.khoros.com/khoroscommunitydevdocs/reference/create-a-kudo

curl -L -X POST 'https://[COMMUNITY-DOMAIN]/api/2.0/messages/640/kudos' \
-H 'content-type: application/json' \
-H 'li-api-session-key: [SESSION-KEY]' \
--data-raw '{
    "data": {
        "type": "kudo"
    }
}'

 

You need to replace [SESSION-KEY] with key generated from Oauth.

.......
Expecting your Kudos and Accepted Solution to my replies.

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.