I'm creating a service marketplace to offer and ask services.Users can contact each other via inbuilt message module.Here I'm planning to send message in receiver's facebook account to notify the receiver about the new message in marketplace.People often use facebook and occasionally sign in marketplace site or check email.So I want to send a notification message in their facebook.
I went through this tutorial but it doesn't work for me. I think this is outdated as facebook chat API are depreciated.
Is there any other way to send private message to facebook friends. Any suggestion will be appreciated
No, there is no way to send messages to friends. Users have to use the Messenger App or facebook.com.
Related
I have looked through firebase documentation and I haven't found any info about custom emails.
I want to build a iOS app and one of it feature will be a friends invitation. When user invite his friend, I want to send to this friend a email with information that he/she was invited by user.
Can I do that? How can I do that?
Thank you for your help.
Currently I am doing a Poker game similar to Zynga Poker. I have integrated XMPP for iOS into my project and it is working absolutely fine.
Now I am able to do following things.
Authenticating users with Open fire account and Facebook account.
Getting the presence status of available users
Creating group chat rooms
registering new users to Openfire server
Now what I want to do is to connect / send / receive messages between Openfire server users (ex: user#server.com) to user#chat.facebook.com).
Is it possible in XMPP? I didn't find any ideas about this. If you have any idea please let me know.
As I have played Zynga Poker, when I logged in as a Facebook user some other users are playing with me who are not my friends.
When I examined XMPP user authentication there is authentication method for user with password, authenticate with facebook accesstoken, authenticateAnonymously.
The one which I think they are doing is they are authenticating anonymously. If you have idea about my situation please suggest your remarks.
One more thing I want is to send and receive invites from/to users.
I'm developing an iOS application that allows a user to login in the Facebook and then send messages to his friends using the Facebook Chat API.
To connect my Facebook account, i'm using xmppframework (https://github.com/robbiehanson/XMPPFramework). The connection is well established and I can send messages to my friends. However, when the conversation is reopened (Facebook web site, messenger) the message is no longer available and a new message is shown: "This message is no longer available because it was identified as abusive or marked as spam".
I've no idea that what's happening. I already tried to check the permissions, track the authentication flow and I found nothing anormal.
Anybody knows what I have to do to avoid this?
Problem solved! I changed the Sandbox mode to off and the messages aren't identified as spam anymore.
I already have an active Facebook session in my app, and want to be able to send a private message to a friend using the access token I already have. The closest I've gotten is to open a UIWebview to the touch interface, but the user will need to log into Facebook again before being able to send a message. Is there a way to send a private message using the session that is already active, and ideally, using my own interface? If I could send an email to the username#facebook.com programmatically, that would be perfect, but that isn't possible in iOS that I know of.
As I understand it, here are the options to send messages to friends in iOS:
Send an email using the mail composer to the username#facebook.com (unable to send email programmatically, otherwise this will be perfect)
Send an app request/post on the wall using the Facebook SDK
Open a webview (and log into Facebook again) show the touch dialog for messaging
Is there anything I'm missing?
I found that you can send private Facebook messages using the Facebook Chat API using XMPP.
https://github.com/robbiehanson/XMPPFramework
Quickblox has some sample code that demonstrates how to send FB messages.
I've been searching this question, and I haven't been able to find anything that works. I have an iPhone app that allows users to link their Facebook account. It would look something like this:
Once a user has successfully linked to FB, I want to present them with a list of their FB friends and an option to invite selected friends.
FB Friend 1........... Invite
FB Friend 2........... Invite
...
FB Friend 1000..... Invite
Basically, I want to send a message to FB friends that says something like "Check out this app". I'm pretty sure this has to go to either their notifications or wall and cannot go as a FB message, but I can't figure out how to do it.
Also, I don't need to select a group of friends to invite -- this can be done one at a time. So it would look like this:
FB Friend 1........... invited
FB Friend 2........... Invite
...
FB Friend 1000..... Invite
Thanks so much for any help you can provide.
Unfortunately there isn't anything in the iOS SDK that presents the apprequests dialog, and a user has to have installed/approved your application before you can send them application notifications via a POST request...
Requests are a great way to enable users to invite their friends,
accept a gift or help them complete a mission in your app. There are
now two types of requests that can be sent from an app:
User-generated requests: These requests are confirmed by a user’s
explicit action on a request dialog. These requests update the
bookmark count for the recipient. You send requests by using the
recently launched Request Dialog.
App-generated requests: These
requests can be initiated and sent only to users who have authorized
your app. Developers can send these requests using the Graph API. Use
these requests to update the bookmark count to encourage a user to
re-engage in the app (e.g., your friend finished her move in a game
and it’s now your turn).
The only way to get this is via Facebook's Requests 2.0 dialog (which is not currently available to the Facebook iOS SDK):
http://developers.facebook.com/blog/post/453
See more here in this related question...
Sending application requests that appear in the left column on Facebook home page?