// send a message to all the users in the group
NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
[params setObject:[NSNumber numberWithBool:true] forKey:@"push"];
[params setObject:@"Hello everyone!" forKey:@"text"];
NSURLRequest *r = [[LQSession savedSession] requestWithMethod:@"POST" path:@"/group/message/ab4NEKC0p" payload:params];
[[LQSession savedSession] runAPIRequest:r completion:^(NSHTTPURLResponse *response, NSDictionary *responseDictionary, NSError *error) {
NSLog(@"Response for sending message to National Fraternity Tappa Kegga Day: %@ error:%@", responseDictionary, error);
}];
error = "access_denied";
"error_code" = 403;
"error_description" = "You are not authorized to send messages to this group";
Is my call malformed again?
thx
**see https://community.geoloqi.com/discussion/123/group-api-calls-from-the-ios-sdk-token#Item_4
It looks like you're new here. If you want to get involved, click one of these buttons!