For questions about using the API for the GroupMe chat platform.
Questions tagged [groupme]
28 questions
0
votes
2 answers
Why would a callback URL not work (for a GroupMe bot)?
I am creating a GroupMe bot, and I'm testing out the callback URL and the basic WSGI app I've set up so far. I am planning host the bot on Heroku, but am testing it on my local machine first. I registered a bot, with the callback URL…

Philippa Richter
- 53
- 7
0
votes
0 answers
How to avoid GroupMe bot from reading the same message twice when restarted on Heroku?
So essentially, my GroupMe bot will read in messages and look for specific commands.
Heroku automatically restarts my Dyno worker at least once every day.
However, when it does restart, my bot will scan over the last twenty messages and it will…

studentofcs
- 65
- 3
0
votes
1 answer
Routing an image through GroupMe's image service with Python
I'm using requests to make a POST request to GroupMe's image service that should return a URL of the hosted image that I can use to post to a GroupMe thread. The documentation mentions that I need my access token and the binary image data in the…

bearplane
- 700
- 1
- 9
- 22
0
votes
1 answer
GroupMe bot is not sending images along with it's text
As the title says, I am trying to have my GroupMe bot post images to the group along with some text. Here is my current code:
post_params = {'bot_id': '123456789',
'text': message,
'attachments': [
{
…

Philip Moraski
- 39
- 3
0
votes
1 answer
Calling function with passing variable from JSON message request in Groupme Bot
So in the GroupMe Bot I'm working on - I've gotten the bot to respond by passing messages with an if statement in the webhooks.
def webhook():
# 'message' is an object that represents a single GroupMe message.
message = request.get_json()
speaker…

TPup
- 63
- 9
0
votes
0 answers
GroupMe, Telegram & Slack channel on Bot Framework responds to every message
Is there an easy configuration way of only receiving messages when the bot is mentioned in Group chats?
I want it to respond to 1on1 messages without needing a mention as well.
Is there an easy way to handle this?
So far, I've noticed that this…

Tyler James Leonhardt
- 804
- 1
- 9
- 24
0
votes
1 answer
Allow a function to be called only after a set amount of time has passed
To provide context, here's the problem I'm attempting to solve:
I've made a giphy bot for a casual groupchat with friends of mine. By typing /giphy [terms] in a message, it will automatically post the top result for [terms]. My friends, being the…

R. McManaman
- 304
- 2
- 14
0
votes
1 answer
How do I create a .bash_profile alias for a GroupMe bot's message command
I have a GroupMe bot that can send messages to the chat it is assigned to in this format:
curl -d '{"text" : "text", "bot_id" : "(REDACTED)"}' https://api.groupme.com/v3/bots/post
So, instead of typing up this monstrosity every time I wanted to…

Gigi Bayte 2
- 838
- 1
- 8
- 20
0
votes
3 answers
How would I get rid of certain characters then output a cleaned up string In python?
In this snippet of code I am trying to obtain the links to images posted in a groupchat by a certain user:
import groupy
from groupy import Bot, Group, Member
prog_group = Group.list().first
prog_members = prog_group.members()
prog_messages =…

lehermj
- 916
- 4
- 9
- 20
0
votes
1 answer
GroupMe API Callback
So, I am trying to use GroupMe's API. The issue is that I don't really know how to get the users access_token once I send them to the site to login. I don't really know how to create a callback or how to use it. So to sum it up
I need to send users…

abbyt22
- 93
- 1
- 8
0
votes
1 answer
Localhost POST request for GroupMe Bot
I'm trying to test a GroupMe bot that I made using Node.js. I'm using the Example Bot by GroupMe. After running foreman start and
curl -X POST -d \cool guy\ localhost:5000 (from a similar question), I get the error curl: (1) Protocol "guy http"…

vahlala
- 355
- 3
- 14
0
votes
1 answer
Attach image at URL to AFNetworking 2.0 request?
I am trying to perform this CURL request in iOS using AFNetworking 2.0:
curl -F "file=@picture.jpg" "https://image.groupme.com/pictures?access_token=token123"
using this image:…

Cbas
- 6,003
- 11
- 56
- 87
0
votes
1 answer
Determining user's membership_id for a group given user_id in GroupMe API
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…

Jamal Balcsd
- 43
- 7