Skip to content

Instantly share code, notes, and snippets.

@kaplanmaxe
Created December 28, 2016 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaplanmaxe/5cb5b1b421909537b65efdac59a8c4cc to your computer and use it in GitHub Desktop.
Save kaplanmaxe/5cb5b1b421909537b65efdac59a8c4cc to your computer and use it in GitHub Desktop.
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.groupme.com/v3/bots/post');
curl_setopt($ch, CURLOPT_POST, 1);
//REPLACE YOUR_BOT_ID with BOT_ID FROM GROUPME
curl_setopt($ch, CURLOPT_POSTFIELDS, "text=TESTING&bot_id=YOUR_BOT_ID");
curl_exec($ch);
curl_close($ch);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment