Facebook Requests Dialog: Too many recepients - facebook

Hello I'm having problem while sending invitations to my application with the Requests Dialog.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Too many recipients.
I know that there are limitations on recipients number, but is there any way of increasing this limit?

No,I don't think so, you cant send app request to more than 50 users in one go.

Related

Facebook Send API 400 Bad Request

I'm trying to send a message from my app to a user using the Send API. I have the user_id from reading the userId when a message was sent to the page.
However, when I try to send a message using the Send API I get the error:
Failed calling Send API 400 Bad Request { message: '(#100) No matching user
found',
type: 'OAuthException',
code: 100,
error_subcode: 2018001,
fbtrace_id: 'GmBQFOIlkFS' }
I saw on this link that a lot of these errors might be because "the page scoped ID does not belong to the app used for this request."
The problem is that I'm not quite sure what that means.
I thought it might be because my webhook is on my website, but I was trying to send from localhost:3000. But then whether I tried sending it from my local server or from the server online, I get the same error code.

SendGrid : Is there any way to resend a email that has not been opened in last two days?

Is there is any way to resend a email using SendGrid API that has not been opened in last two days ?
Thanks in advance.
You can, if you've saved the message content, so that you can regenerate the message, and if you have their Event Webhook, so that you can know the open state of a particular message.
SendGrid doesn't keep message content for messages that are sent through their API, only their Marketing Campaigns. The Marketing Campaigns app does have "has not opened" logic, however.

Messages sent to Facebook returning with POL-P8

We have a desktop system that sends various e-mails to the users. These users have the option to choose to receive a copy of all these e-mails in his/her Facebook message inbox and we do this by sending a copy of the e-mail to the user's #facebook address.
For some time, this was working with no problems but recently a client reported that some of the messages sent to the user's Facebook address were failing and returning.
After analyzing the returned message, we found that the diagnostic code was "POL-P8":
554 5.7.1 POL-P8
http://postmaster.facebook.com/response_codes?ip=143.106.10.159#pol-m
Message refused (in reply to end of DATA command)
Looking at the code description page (http://postmaster.facebook.com/response_codes?ip=143.106.10.159#pol-m), we found that this particular code translates as "The message does not comply with Facebook's abuse policies and will not be accepted.", which seems to tell us that the message was considered spam and, therefore, not sent.
Still, we don't know exactly why this is happening. It doesn't appear to be related to the message content, since we tried manually sending an e-mail with the exact same content to the #facebook address and it was sent and received with no problems. We also thought that the problem could be caused by a large number of messages being sent to the user's inbox in a short period of time, but we also weren't able to reproduce this.
I did not find any detailed information about compliance to the "Facebook abuse policies" so I am a bit lost on what could be the problem and what could be done... any help someone can give me will be greatly appreciated!

Maximum number of Facebook private message sent by Graph API (per day)

I am using Graph API to send private message as shown in this documentation
https://developers.facebook.com/docs/reference/api/message/
Now, I want to ask about the Maximum number of Facebook private message sent by Graph API (per day)
Thanks a lot
Thankfully, applications can not send private messages via the API (or any other methods).
What you are looking at is the documentation for reading the inbox.
Facebook Chat API is the same as private messages.
An easily way to test is, install Pidgin and log in Facebook Chat with pidgin.
Try to send some messages to other friends and browse "Messages" section in Facebook website.
You will find that all messages sent through Pidgin will appear in Facebook Messages.
And also we could use me/inbox or me/outbox connection of Graph API to retrieve those messages sent through Pidgin.
It is the only way to send messages to friends as I know.
Without special API key in whitelist, it could not send private message by Graph API.

New #facebook.com email - API Howto?

With the new #facebook.com emails being available for all users I'm wondering if there is an Graph API call that can be made to obtain a users facebook email address?
From what I've seen you can simple take the users alias (as we see in the URL) and slap on the #facbook.com to get the email. Until I cam across a friend who had his FB Id instead of the alias listed on his account.
I tested this by sending an email to myself using myid#facebook.com and myalias#facebook.com. The ID failed to send while the alias sent and was received with no issues.
Ideas?
Thanks.
Some people can receive mails from both ID#facebook.com and ALIAS#facebook.com, and some people cannot receive ID#facebook.com with an mailer error saying that it's not in their address book.
I wasn't able to see any pattern here, it was random. Not sure this is an error or a spec.