Long story short, I am creating a chrome extension for GroupMe that notifies you if a message is posted in a group. The message says who posted it, what they posted, and then allows you to kick or direct message them if you desire.
Everything is working besides being able to kick the person who chatted the message, because that requires the user's membership_id
and not their user_id
, as said in their API: https://dev.groupme.com/docs/v3#members_remove
The only reason direct messages worked is because it required their user_id
, which can be retrieved easily (https://dev.groupme.com/docs/v3#groups_show).
The problem with the above API is that it does not give the regular id of the user. I am having trouble finding a good way to get their id so that they can be removed from the group. Any ideas?