Ning Developer Docs

is there a limit to the number of characters in requestSendMessage?

i am trying to send a link in the message and the link is pretty long. it keeps getting cut off. is there a character limit?

Views: 4

Replies to This Discussion

Is part of the link chopped off, or is the entire tag missing?
When I tried to send a link in a short message,
tag was stripped out. What is the policy on tags in messages?
Nathan,

The requestSendMessage API has a quota of 35 invocations per member, per day. This means that a member can use the send message functionality 35 times per day across all apps. If a user enters multiple people in the 'to' field, that counts as a single invocation. The message body has a maximum character limit of 1000 characters and strips out HTML.

Thanks,
- Ernie

Nathan Finstein said:
Is part of the link chopped off, or is the entire tag missing?
When I tried to send a link in a short message,
tag was stripped out. What is the policy on tags in messages?
Hi ,

Is there any other way to send the hyperlink in requestSendMessage . Here is my code
-----------------------------------------------------------------------------------------------
var body=' would like to check '+Article+'
var params = {};
params[opensocial.Message.Field.TITLE]="Suggest Article";
params[opensocial.Message.Field.TYPE] =opensocial.Message.Type.EMAIL;
params[opensocial.Message.Field.URLS] = articleUrl;
var message = opensocial.newMessage(body, params);
opensocial.requestSendMessage(recipient, message,
function(response){
if (response.hadError()){
}else{
alert("Invitations sent successfully");
}
}
);
-----------------------------------------------------------------------------------------------
Even if i add
params[opensocial.Message.Field.URLS] = articleUrl;
also this is not sending any links or urls to user alert messages

suggest me


Thanks
Raju


Ernie H. said:
Nathan,
The requestSendMessage API has a quota of 35 invocations per member, per day. This means that a member can use the send message functionality 35 times per day across all apps. If a user enters multiple people in the 'to' field, that counts as a single invocation. The message body has a maximum character limit of 1000 characters and strips out HTML. Thanks,
- Ernie

Nathan Finstein said:
Is part of the link chopped off, or is the entire tag missing?
When I tried to send a link in a short message,
tag was stripped out. What is the policy on tags in messages?

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service