Simple app sending "Hello world!" to facebook messenger group - facebook

I'm trying to create simple aplication that will send me messege every day for example it can be "Hello world!". Is it even possible for facebook messenger extension to send message without being called? Where should I start? I mentioning about messenger extension because I would like this app to send message to group chat.

To sum up the comments: You can only send messages from pages to users (who contacted the Page first). There is no other API for user to user communication, or for communication in groups.

Related

Facebook message to page

Is there a way how I can send regular message to facebook page?
I got this:
https://github.com/Schmavery/facebook-chat-api
but it is unofficial.
When I've tried to send several messages sending account was blocked.
I have not found any info about limits or anything else connected to sending messages to Facebook pages.
In official Facebook documentation regarding messaging API there is nothing about sending message to Page. As bot is acting as Facebook Page itself I suppose it can't send message to another Facebook Page.
There is no API to send user to page messages, you can only send messages from page to user. And only if the receiver started the conversation first.
Don´t use unofficial ways, they are not allowed.

Facebook Oauth-enticated users, chat between themselves on website

I have a website where users log in with Facebook. Right now there's no way for users to contact each other.
I was thinking of building a dedicated live messenger with sockets, but I wonder if there's an easier way to allow them to send messages to each other's Facebook Messanger, since they are already logged in with facebook.
There is no API for a chat between two users. Everything in Messenger API is focused on communication between a user and a page.
At most you can use the Send dialog to let a user send a link to their friends, but that requires the user actively using the button, you can not “automate” that; and handling the result will have nothing to do with your site any more, everything after that will happen in messenger only. https://developers.facebook.com/docs/sharing/reference/send-dialog

Facebook Message To All Friends

Is there any way by which I can get all the friends using FB api and than message all of them.
Which approach is better to achieve it, a bot or using facebook api?
If Bot, than which bot can be used as a kickstart, which programming language is preferred?
JAVA,ASP.NET
It is not possible to get all friends - only those who authorized your App. Also, it is not possible to send a message to friends with the API, you can only use the Send Dialog and let the user specify the recipient on his own: https://developers.facebook.com/docs/sharing/reference/send-dialog
What you want to achieve would be possible with a bot though. Users can register to get messages from the bot, so you can create an alert system with it. More information: https://developers.facebook.com/docs/messenger-platform/
It would be a general alert system though, not between friends. For that, i would recommend not using Facebook but Emails.

Facebook Messenger Bot Daily Push Notification, How?

In cnn fb messenger bot if i write subscribe they show a message like "Got it. I’ll send you top stories every day." and then they daily send me top stories at fixed time. How they do it? I created an fb bot for my site without this but i can't understand how i add this. can anyone tell me basic instruction for this?
The idea is simple. When you send "subscribe" to the bot, the bot server would add a record according to the sender_id to their database or memory , then the bot server could set a timer to distribute the news messages to those sender_id who have subscribed for the news.

How does RockMelt send Facebook messages?

Everything I've read says that you can't send messages but in RockMelt you can send your friend a beta invite through Facebook messages.
Are they using a preview of the Inbox API? Is there another way they're doing this?
This was taken from an answer on Quora that Eric Vishria the CEO of Rockmelt said:
"If a user wants to invite a friend who has not signed up on our site, we generate a download link, and pre-populate a Facebook message (in our own UI) that the user can edit/tailor and click Send, or copy and send via some other means (email, chat...).
We do not auto-send Facebook messages and the messages aren't from us, they are user to user.
If a user invites a friend who has signed up on our site (via the "Hook 'em up" button) that sends a notification to our backend that a user has been hooked up and we send that friend an email that such and such user has hooked them up. We are able to do this because when users sign up on our website, they connect via Facebook and authorize our application to send them email.
We spent a lot of time making the system not spammy (no auto posts to feeds, no automatic emails, etc....) where invites go to people who want them or users have to take an explicit action to tell their friends about it."
http://www.quora.com/What-Facebook-permission-enables-an-app-to-send-user-to-user-messages?redirected_qid=97754
To send a message to a friend you can use the Send Dialog, similar to the Feed dialog that will post to the wall but it lets the user select one or more friends and send a message:
https://developers.facebook.com/docs/reference/dialogs/send/