Questions tagged [pubnub]

PubNub offers a publish/subscribe API for realtime data stream messaging for IoT, mobile/web, chat, and games with modern platform supported with an SDK.

www.pubnub.com

PubNub is a secure global Data Stream Network (DSN) and easy to use API that enables our customers to build, scale, and manage real-time functionality for their applications and IoT devices. With over 70 SDKs for every platform, guaranteed 250ms worldwide data transfer times, and scalability for hundreds of millions of devices, PubNub’s unique infrastructure gives you the ability to easily build and operate world-class real-time applications and IoT devices.

PubNub utilizes a Publish/Subscribe model for realtime data streaming and device signaling and supports all of the capabilities of WebSockets, Socket.IO, SignalIR, WebRTC Data Channel and other streaming protocols. With PubNub, developers can dramatically reduce the cost, complexity and time to deliver realtime experiences.

Useful Links

1104 questions
0
votes
1 answer

Request Message Text From NSMutableArray of PNMessage objects

I am working on a IOS messaging app using PubNub. I am passing a list of PNMessage objects to an array (channelMessageHistory) using PubNub's history() api request. These objects are passed to a local storage array for future use, which includes…
0
votes
1 answer

Retrieve messages with PubNub History API once and use them in multiple views

I'm developing an app with PubNub iOS SDK that works great, but there is one annoying issue with the History API. I have to list the message history in multiple view controllers, that works well, but I have to wait 2-3 second for the messages every…
cimp23
  • 49
  • 5
0
votes
1 answer

Optional use of pubnub

We have a Webapp available for cloud (AppEngine) and inhouse deployment. For push notfications we are using websockets in inhouse deployments and pubnub on AppEngine (because Google channels were nor reliable enough for us). We have a simple…
Ruediger Jungbeck
  • 2,836
  • 5
  • 36
  • 59
0
votes
1 answer

JsonConvert.DeserializeObject from PubNub message

When I send in this message to MakeAction manually it works and the message box pops up: string json = @"{'action':'turncompleted', 'messageID':'123123123', 'playerID':'100000067174580', 'round':1, 'values':[{'longitude':21.09375,…
Westerlund.io
  • 2,743
  • 5
  • 30
  • 37
0
votes
1 answer

What is the PubNub channel name for MtGox BTCUSD trade?

I'm looking at this: https://mtgox.com/api/2/stream/list_public?pretty And I only see one: "trade.BTC": "dbf1dee9-4f2e-4a08-8cb7-748919a71b21" When trying to connect to it, I'm getting very odd trade data, which, when compared to what I see on…
orion3
  • 9,797
  • 14
  • 67
  • 93
0
votes
1 answer

How to work with PubNub and MtGox api without using PubNub libraries?

I'm writing an app in Dart, which PubNub has no libraries for. My question is, would it be possible to interact with MtGox api (which is, as far as I understand, built on PubNub) using Websockets? How does PubNub relate to Websockets? Their…
orion3
  • 9,797
  • 14
  • 67
  • 93
0
votes
2 answers

Convenient way to extract data from the MtGox/PubNub JSON API?

I'm using the PubNub API with Java for pulling data from MtGox. When retrieving data, the API delivers it in form of a JSONObject, which represents a tree structure of JSON data. Trying to extract bits of information directly from a JSONObject…
Daniel S.
  • 6,458
  • 4
  • 35
  • 78
0
votes
1 answer

observables and the UItableview visible cells

I am writing an IOS chat app. I have a tableview where each cell contains a textbox, upon loading each cell I subscribe to a chat channel on pubnub.com. I have an observable in the viewdidLoad watching for incoming messages. The object receieved…
user1794228
  • 85
  • 1
  • 4
0
votes
1 answer

How Pusher Connection is calculated?

I am trying to understand the pricing shceme of Pusher. According to their pricing, the Boostrap allows 100 max. Connections. My question is this: if I have 10,000 daily visitors to my page, each one subscribed to a different channel to receive…
Liron Harel
  • 10,819
  • 26
  • 118
  • 217
0
votes
1 answer

Creating Buddy list functionality with Pusher/Pubnub

I'm considering moving from my own ejabberd servers (XMPP) to Pusher or Pubnub (Pusher preferably). And I was wondering what the best way to re-create the roster functionality using this technology is. Each user has a variable number of people to…
Rakan Nimer
  • 574
  • 5
  • 9
0
votes
1 answer

what does here_now(String args0) in Pubnub do?

I am trying to find the clients subscribed to a particulair channel. On git I found an example which used a function here_now() with 2 parameters. Something like this: pubnub.hereNow(channel, new Callback() { …
Nemin Shah
  • 301
  • 1
  • 3
  • 12
0
votes
2 answers

Server Push Notification to Requested Client xyz: WebSocket Pusher/Pubnub

Lets consider i have 1000 logged-in users in one of biz app. now if one of user xyz send the request to the server but server needs/taking 5-10 mins to complete/returning that request response. NOTE: As my app running on Google App Engine (Python),…
Niks Jain
  • 1,617
  • 5
  • 27
  • 53
0
votes
1 answer

Ruby callback function to continue execution of another function

I'm using Pubnub to publish live messages from a Server to a client (browser page). When using Pubnub, one must abide by their message size constraints, sometimes resulting in the need to chunk the message, send it in pieces, and reconstruct on the…
MandM
  • 3,293
  • 4
  • 34
  • 56
0
votes
2 answers

Pubnub Socket.io - disconnect from a channel

Using Pubnub's Socket.io implementation, how does one disconnect from a channel (or at all)? I set up my connection like this: socket = io.connect "http://pubsub.pubnub.com", channel: "some-channel" publish_key: "..." subscribe_key:…
nicholaides
  • 19,211
  • 12
  • 66
  • 82
0
votes
1 answer

Cakephp PubNub tutorial

I want to use PubNub's api in my cakephp app, but I cannot find any cakephp plugins for pubnub. Essentially I want to use the pubnub api to deliver realtime messages about a user's geolocation using the google maps geolocation api. Are there any…
Alex McClary
  • 107
  • 1
  • 11