-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not getting invites #15
Comments
Check the error from users.admin.invite you probably see |
😞 Thats unfortunate that they changed it. Are you referring to inviting bots or using a bot to invite. I also dont see an error. |
Bot users - https://api.slack.com/bot-users |
I fixed this for socket.io by reconfiguring it to use my personal token. |
(probably not the best idea? I'm gonna email Slack) |
I have made a change here #14 , and it works for me. The restricted property is for paid user only. |
#14 works very last few days. And doesn't work this morning. Maybe slack block this from free groups. |
It still works with user tokens. But not sure if we're violating their TOS. |
@brianllamar I have retweet , and i'm very sad slack.com blocked this api. |
Here's a very simple test script: #!/usr/bin/env python
import requests
API_BASE_URL = 'https://slack.com/api/{method}?token={token}'
TOKEN = '<your_token>'
GENERAL_ROOM_ID = "<your_room_id>"
def call(method, **params):
url = API_BASE_URL.format(method=method, token=TOKEN)
return requests.get(url, params=params)
if __name__ == "__main__":
res = call("users.admin.invite", email="<your_email>", set_active="true",
channels=GENERAL_ROOM_ID, first_name="Bob")
print(res)
print(res.json()) Which prints:
^^^ that's what I get with a user token, btw, not a bot token. |
This started working for me again today. |
woohoo! Thanks for letting everyone know. Is this with an org token? |
Same. Didn't change anything, still using the org token. Did tweet at Slack a while back pointing them at this :) |
Yup, org token. I was going to hack it up to just dump an invite request in On Wed, Feb 18, 2015 at 4:05 PM, Guillermo Rauch notifications@github.com
|
wow-hoo. Thanks guys for reporting. I'll revert my |
Slackin has started working for me! Sweet. (Although, oddly, my test script still returns paid users only) |
Best news ever.
|
And now it's not working again? 😃 Anybody else? API reports success. No invite created. |
Somebody used it succesfully to join my group an hour ago |
@llimllib I'm at a loss. The org is paid. API reports success. I don't want to clutter this issue, especially if it's user error (likely). |
Works great for me. |
@rauchg Thanks so much for this project! I don't mean to sound ungrateful. |
No problem at all. In fact there's a chance that there's still something What do the logs say ?
|
@rauchg more details:
An invite is not created under the given org, and no email is sent. |
Can you please test |
@rauchg Yep nothing in spam 😃 I'm trying to get |
I hacked the Server runs now, but no change in invitation behavior 😕
|
I made a few more hacks to have the request made the same way as https://github.com/tech404/inviter/blob/81dd14014fb7657339dd1aa87d97e09dd4f82fd9/lib/slack/client.rb#L15-L21 and everything appears to be working for me. I'll gladly work up a PR if there's interest 😃 |
Please! Thanks for following-up |
I've tested Slackin both locally on and Heroku and in either case I'm not receiving any invites. I'm not sure if this is the same issue, the Slackin logs don't say anything at all besides the fetching/online X logs. |
Actually my bad, it does work locally, just takes ~10 minutes for the invite to arrive. Still doesn't work on Heroku as far as I can tell though. |
I got to this issue from here and got my first invite without a hitch. |
is this still an issue? if it is, why is it closed? thanks! |
So is this project usefull for free plan teams or it won't work? |
@dKab Get an answer, or try it for yourself? |
@masterkrang Get an answer, or try it for yourself? |
Works for me. |
I set up and successfully deployed to Heroku using the link via the README. I even accounted for the issue #11. However when I test the landing page with an email, none is sent.
Is there something else others have done to get a response?
Heroku logs:
The text was updated successfully, but these errors were encountered: