How to create quickblox App using api? - javascript

I want to create multiple app on Quickblox for my application using api(ruby on rails), is there any way to create multiple Quickblox app using apis or javascript SDK ?

There is no way to create QuickBlox applications programmatically,
you can do it via Admin panel only.
If you need to automate it - potentially you can use some sort of Selenium browser automation

Related

Verify that a JS script only runs in whitelisted native apps

We have a chat interface that we allow our partners to embed into their websites and web apps using a JS snippet. We want to expand to integrating with native apps using WebViews.
I am seeking an approach to verify that our snippet is only running in specific apps.
As an example: A similar functionality that is easily achieved in web apps is a domain check.
A partner / client gets a JS snippet or a URL and a key,
on page load it looks up the partner details using the key,
if they're active and approved for this service,
check the requesting domain against a list of whitelisted domains for this key.
Is it possible to uniquely identify a native app from a JavaScript function that is running in a WebView to verify the app? Perhaps - are app store unique app IDs accessible from within a WebView?
Thank you
No, it is not possible to uniquely identify a native app from a JavaScript function that is running in a WebView.
"No" is a hard answer to find on the web. Phone a friend informed me that while some native information and functionality is accessible from within WebViews, the app ID or bundle identifier is not exposed programmatically. Of course a developer could add it, but that's not helpful in verification.

How to implement Facebook Social Login in Hybrid application?

I was planning to use Facebook Social Login in my Hybrid application ( HTML5/CSS/JS and Cordova) However on going to facebook developer I could not see an option for choosing cordova based app.
So shall I consider www , i.e. Javascript based SDK for implementing facebook social login?
From security point of view, is it good choice to choose JS SDK in hybrid application?
Thanks!
Yes, you can choose www for create app for hybrid platform and you just need to set the App id into application so if someone decompile your app they just get an App Id and nothing else, other all things are saved into your developer facebook account.
So you can create your app with this www without worrying about the security of an app.
Also you can create Facebook login with the simplest use of OpenFB,
You just need to create Facebook API from Facebook Developer Account
And Pass the App ID into javascript file of facebook login function.

I want to integrate pubnub with zendesk

is it possible to integrate zendesk to pubnub? I want to create a pubnub channel for each zendesk ticket, and when I respond to a ticket with some message I want to send pubnub api request to record that message at pubnub server.
basically, I want an user interface to handle customer queries, and this chat between user and me I want to save it at pubnub servers. Any idea?
Zendesk Custom App Using PubNub
You don't need Zendesk's source code (and you can't get it anyway). The right thing to do is to create a Zendesk app by using their REST API.
Within that custom app, you use PubNub's REST API or a PubNub SDK that is compatible with whatever Zendesk offers as languages to use for add-ons (Ruby, Node, whatever they offer).
This is a cool use case (Zendesk, Desk Freshdesk, etc) with add-ons because you can do things within Zendesk that use PubNub to react to actions and trigger other things to happen or notify other agents in Zendesk.
You can also create a standalone app (web, server or mobile) that can subscribe to channels that the Zendesk is publishing to and you can go the other way around. The standalone app can publish on a channel that the Zendesk add-on is subscribed to and react to that message as required. The what to do is limitless.
And the standalone app could just be some other product/service/platform that allows you to create a custom app: Salesforce.com, Hipchat, Slack, Flowdock, Socialcast, Jive, Yammer, Workday, Zenefits, Zuora, whatever!
Here is a Zendesk custom app example to get you started.
Since you were referencing PHP, you might be creating a server side process that will interact with your Zendesk custom app so you will need PubNub PHP SDK. But you might be able to use PubNub JavaScript SDK within the Zendesk custom app.
Let us know if you need help taking the next step here after you get familiar with how to get started with a Zendesk app.

Parse REST API vs Parse JavaScript SDK

We are building a web & mobile chat application. The use case is that consumers can chat to our customer service using an android mobile app. Our backend team will reply to the users using the web app.
The web app will also have features to upload posts to the parse database that will be visible on the users newsfeed, query the parse database for items/transactions & upload new product SKUs to the database.
For the chat we will be using a service like Layer/Pubnub/Socket.IO along with Parse as the database. Will this architecture work well ?
Also, for the web app, should we use the native Parse JS SDK? or develop a Node.JS/Express.JS application using the Parse REST API?
For a server side Node.js app, I'd say the JS SDK works fine. I've used the REST API to develop JS Client-side plugins (there's prbly a JS way using RequireJS) and to interface Parse to other languages such as R. A couple of pastebins as samples:
Javascript - http://pastebin.com/eqAs5EDT
REST - http://pastebin.com/7TtZUwzy

intergrate live group chat in node js web application

I have developed a web application using node and backbone js which is in beta now. Now my client wants group chat to be integrated in that application. This chat should take place between users that are signed in to application. Is there any chatting tool that can help me to achieve this? Or I need to implement this by myself? I have never integrated chat in any web application before. I tried to google about customer-to-customer chatting tools but did not get any tool that can help me achieve this.
Since you are using node you can check socket.io for implementing real-time communication between users of your application. With node and socket.io out-of-the-box functionality exists for separating users into rooms for group chatting (and broadcasting)

Categories

Resources