On Facebook - changing SMS message when selling items - facebook

When user buys something from a Facebook application by SMS, he/she receives a message encouraging to buy this item - is this possible to change the contents of this message?

whenever you make a request call through SMS, based on the content, it replies bacl from the list of avaiable responses.

Related

Send a message as a user to another one

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.

Facebook won't send notifications from messages sent by a user that was transferred from a bot to the facebook page inbox by the Handover Protocol

I will name my firstborn after whoever answers my question!
My bot uses the Handover Protocol to transfer users from the bot (primary receiver) to the page's inbox (secondary receiver) after they tap on a 'chat with human' button, the problem is that I'm not getting any facebook notifications when the user starts messaging a human (page inbox).
Right now I'm having the bot email me anytime it transfers a user to a human but this fix obviously doesn't scale, ideally I would want facebook to send me notifications on my phone just like it does by default to pages that receive messages and don't have any bots installed.
I know I can see the messages sent to a human by using the 'standby' webhook but those are developer-side server logs, what I want are normal facebook notifications sent to the page owner and the people in the page's Roles so they reply to those messages instead of me (the developer) being the only one being notified through emails I have to send myself.
1.You have to go to Your Page--> Settings--> Notifications--> Select this option
from Messages- "Get a notification each time your Page receives a message".
2.Download "Facebook Pages Manager" App to get all your page related notification
on your phone.

XMPP Framework: Not able to receive my messages

I am working on xmpp framework. I have done most of initial things. I created stream, Connected it and get authenticate. Now I am sending buddy request to another user from my app. App shows presence is sent. When I get roster it shows a entry there. But on other system I am not getting any precence or anything. I tried to send a message message is also not received by other client.
Than I used one id in ichat and send friend request to that id. Wow I am able to see friend request on ichat. I accept request from ichat :( No notification on my app.
If I send message to ichat. Message shown in iChat. but when I send message to my app from ichat.. My app is not getting any delegate called or nothing.
I don't know why this is happening.
I am using a non ARC xmpp framework.
Please guys Please help me. I am badly stucked in it :(
Thanks in Advance.
Have you consider to send presence after get authenticate?
If you are authenticate but not sending preence than server will consider you offline and all messages sent to you will be stored on server with delay.
Send your presence and see the magic. :)
I am not an iPhone developer so i can not explain programming.
In XMPP, Presence subscription has two handshakes. Like When first user send request to second user , it will ask for presence subscription to second user. When second user accept , then first user is subscribed for second user's presence. So he can get all the presence of second user. It's called "to" subscription type for first user. Now second user ask for presence subscription to first user and first accepts request then this "to" subscription type changed to "both" subscription type. Now both user can get presence of each other. otherwise only first user can get presence of second user.
And for messages, there must be a some prob with listener.

How can I send email to someone's #facebook.com address without it landing in the "Other Messages" folder?

Facebook filters many messages to the Other Messages folder (http://betabeat.com/2011/12/return-of-laptop-lost-in-taxi-foiled-by-facebooks-obscure-message-folder/).
Does anyone know how they filter incoming mail to #facebook.com email addresses? Can non-friends email users at #facebook? Can apps?
If the user replies to an e-mail in the Other messages folder, that e-mail address is then whitelisted, and subsequent e-mails will end up in the Messages folder.
I read somewhere that you only have to move a message from Other messages to Messages to whitelist the sender of that message, but that doesn't seem to work.
According to this facebook help center post:
You'll see mostly messages from friends and people you may know (ex: friends of friends) in your inbox. Typically, messages from other people will go to your Other folder, and you won't receive a notification about them.
You may sometimes get messages in your inbox from people you're not connected to. Some examples of when these messages may go to your inbox are:
A friend of a friend includes you in a message along with some of your mutual friends
A member of a group you're in messages you or includes you in a message
A friend who isn't on Facebook uses your contact info to send you a message from the Facebook Messenger app.
Additionally, someone you're not connected to on Facebook may pay to ensure their message is routed to your inbox instead of your Other folder.

In Google Talk, how to send a message to person that is not in my friend list?

In Google Talk, how to send a message to person that is not in my friend list?
I work on an application that notify customers of a bank about change of their accounts. When I send a message to a person not in my list, no error is created, but the message isn't delivered to the recipient.
Because of design issues it is not suitable to send an invitation to customers and store information about their responses to it.
You can message a user directly using XMPP without an active presence subscription (the requirement for an item to appear in your roster), but most clients (Google Talk clients included AFAIK) will discard the message upon reception, if the from header does not match a bare JID in their roster.