Skip to content

unable to invite multiple users to private channel #24

@jeromezero

Description

@jeromezero

awesome work! -
right now I am unable to get multiple slack users invited to a private channel.
perhaps I am not forming the user list correctly?
I've tried user names, user IDs, complete user links, everything I could think of. in quotes, comma separated. no luck.

now I am getting the following error in the server.php log:
[26-Sep-2016 16:04:32 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /server/php/server.php on line 69

line 69 calls the array of users to invite them:
foreach($invitedUsers as $user) { $chInvite = curl_init(SLACK_API_INVITE_URL); etc.

I am stuck!

(adding the default token user if no array is specified works great now, but I can't add others)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions