i have a question that i want to get notifications from my facebook application?
means that users on some other site can get notification related to my facebook application.
there is send notifications option in facebooker plugin but no way i see get notification option. Thanks in advance for helping me.
there is no receive notification method. the sent notifications will appear on the facebook page of the user you have sent the notification.
Related
I have created a app in Ruby on Rails in that I want to get the all updates of the gmail mailbox, I tried with push notification provided by gmail in this link https://developers.google.com/gmail/api/guides/push but in this we get only those message related to that topic, but if i want notification on my server for all the messages then what approach should i adopt,
Please let me know if any one have any idea about it.
The topic is a separate issue from what labelIds to get changes for. The reference for watch() says that if you don't specify any labelIds in the watch, then you will get all the changes to the mailbox.
I am currently using the Facebook iOS SDK 4.0. In examples they show that when a user sends an app invite, the receiver gets a notification from the FB app. That's not happening with me. A notification appears in the app when it's sent but ouside of the app, nothing. Here is my code:
- (IBAction)inviteFriends:(id)sender {
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:#"https://fb.me/413510792107174"]];
[FBSDKAppInviteDialog showWithContent:content delegate:self];
}
Because there is a notification in the app, it leads me to believe that the code is correct it's just a matter of configuration. Specifically, this is what I'm trying to achieve: https://developers.facebook.com/docs/app-invites/overview.
I've also tested for the app NOT being installed with the same result. I'm curious if anyone else is having this problem. Thanks in advance.
The following documentation on Facebook developer site, may help resolving it. testing with "test users" may help.
Testing
We have internal logic that determines whether a push notification is sent to the client. If we detect that the person has installed the app, we may not trigger a push notification. The best way to test push notifications is to use test users.
EDIT:
if "test users are authorized for this app", test users will have this app installed by default. Which means, you will have to send request before test user authorizes the app. Also, Test users can only interact with other test users, and not with real users.
Facebook seems to have resolved the issue as it now appears to be functioning correctly.
I upgraded my apps (iOS and Android) to the new Facebook SDK (V4.0) to use the Facebook app invite. (See https://developers.facebook.com/products/sharing/app-invites).
My problem: when I send an invitation to a Facebook friend he gets a notification if he is using an Android device, but he doesn't get one if he is on iOS (even if he normally receives notifications from Facebook). Despite that, in both cases I can find the invitation in the Facebook app. So the problem is just about the notifications.
Do you know if Facebook has not implemented this part of their API or if I'm doing something wrong?
Thanks for your help.
I'm on the Facebook developer advocacy team and can help answer this for you.
The best way to test this is to use test users. The reason is that we don't send a push notification if we think the person has installed the app. If you use test users, it should work.
I integrated QuickBlox in my iOS app. Chat works, however I have one problem:
There is description how to use automatically generated push notifications to offline users:
http://quickblox.com/developers/SimpleSample-chat_users-ios#Push_notifications_to_the_offline_users
I implemented this feature and receive notifications. But if, for example, user of my app has two different dialogs: 1 - private, 2 - group; and chats in 1st dialog, somebody at the same time sends message in second dialog, then user doesn't get push notification.
Thus it seems to me that online status of user spreads to all it's dialogs when user logins to QuickBlox chat in app.
So I want to know is my assumption right? Can you please help me with this issue? Because in this situation I have to write my own logic for sending notifications to offline users.
Thank you.
Could you describe you problem in more detail with steps that you did?
And please look at the http://quickblox.com/developers/Chat#Alerts , by this link you may found your solution.
Let me start by saying facebook's developer documentation sucks. Bad.
I'm using the facebooker plugin in rails to let users sign up through facebook connect. Now when certain things occur I want to send notifications to certain users through facebook. I heard some say that notifications must go from one user to another, but I've seen evidence otherwise. I signed up at the site http://www.meetingwave.com/ through fb connect, and now they send me (annoyingly) daily notifications of new things on their site. Also, using the comments widget on my own site www.tmatthew.net, when an anonymous user leaves a comment I get notified of that as well.
So uh, how do you do that? I've been googling all week long and can't seem to find anything. It seems like I should be able to send a notification from my app to one of it's users.
The api call you are looking for is called Notifications.send. The only thing is that they will be disabling it very soon so there is probably no point in implementing it into your application.