Is it possible to login to my own facebook account on a server via the api and send a message from the server to all members of a specific private group, in which I am also member?
No, there is no way to send user to user messages with the API.
Related
Is it possible to send messages as a real user (not a page. For example myself) to another user using the Facebook Graph API?
In other words, can I create an app that will make an API call which will send a message as myself to a friend of mine (as if I have sent it myself)
The send and conversation API seems to be only about sending and receiving messages as a page
No, there is only an API for Page to User communication, but not for User to User communication.
We are developing a mobile application that communicates with a server, which sends a generated email on behalf of the app user to a facebook user.
The user sending the email is signed on to Facebook.
The email is sent to one or multiple FB friends/connection using their id (example: username#facebook.com).
The sender email can be from any domain and that's where the problem lies. Sending directly from gmail for example, works fine. But because our server is sending on behalf of the user, FB thinks its a spoofed email.
Sending the email from the app is not an option for us at this time.
Is there any way or service that would allow us to do this without having our emails marked as spam?
Facebook is transitioning away from the ability to send emails via an
API call on Mar. 1st. To compensate, they allow apps to now ask for a
user's email address directly.
If you set the email domain in your app's settings, then asking for
the email extended permission gives you the users email address
instead the ability to send an email via the API.
As of Mar. 1, the API will stop working and you are left alone to
figure out your own email solution. This goes for regular
notifications, both user to user and app to user, as well
From here
And:
Please note: We are in the process of deprecating the REST API,
and will not be adding support for this in Graph API.
Developers should directly send email to users once they are granted permission.
From here
However, I would suggest rather sending private message than emails, as described here
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.
I have a collaboration product for which I am adding a chat feature
I want to notify users (through email or some other means) whenever they get subscription requests
How can I achieve it through smack? My understanding is that you have to login to XMPP server using your credentials and can register a listener for presence events of the logged in user.
But what I want is to listen to all the presence subscription requests. Is it possible?
Pretty sure you will have to write a server side module for this kind of functionality. The spec doesn't provide this ability so you would have to add it as a custom capability in the server.
Is there a way of sending personalized private information to users through API/FB app?
They have it currently disabled for the legacy messaging system but it appears for the new messaging system they are allowing it again. You probably have to log in, but here is the link.
http://developers.facebook.com/docs/reference/api/message/
When the user registers with your site you can request the user_email permission to get their email address and you could email them.