I am looking to install Facebook chat and/or Google chat to my web application. Does anybody have a useful tool for this?
You can implement a real time chat in your app with facebook : http://developers.facebook.com/docs/reference/plugins/live-stream
For Google Talk which uses the XMPP protocol, try the strophejs library. You can take a look at the Google talk api docs : http://code.google.com/apis/talk/
Related
I am currently working on a VoIP application. Can anyone tell me which server I use for audio, video calling and text messaging? I searched a lot, but not clear which one is easy to use and more reliable.
For chat you can setup XMPP or FCM. for video call conference setup with WebRTC.
Hangout APIs are also available for both chat and Video call conference.
You can also opt 3rd party WebRTC SDK's like Vidyo.com etc
You can also setup your own XMPP and WebRTC server. though are protocols.
My customer asked me to develop a web app which include function chat with facebook but as I know, the Facebook Chat API and XMPP things has been deprecated since 04/30/2015.
But the function chat with facebook on Skype still working. Are there have any other approaches beside Facebook Chat API? I would like to hear an clear answer to explain for my customer.
No, there is no alternative to the Chat API. It has been removed and there is no way to implement chat in your App anymore. Skype may have a special deal with Facebook, or they are not upgraded to v2.0 yet - it´s a process that is still going on afaik.
I want to start developing a tool that runs daily via cron for getting daily analytical data from one channel, or video, etc.. through the "Youtube Analytics API". And not what is the best way to approach it.
I have read the documentation of Google and and I have several questions:
I created the project in the console (https://code.google.com/apis/console/) but I doubt what kind of application I have to choose when I create a Client ID (Web Application, Service Account or Installed aplplication).
What PHP library use?
It's a very new API and not much information.
In the Google GData site there is a warning about that "Most newer Google APIs Google Data APIs are not Google Data APIs." and in the google-api-php-client, no examples of this API.
What is the best method for authentication in a cron?
As you can see I am very confuse, can someone help me, please?
Thank you.
1) It will be an installed application unless you will run it in a web server.
2) Use the official library, add the ytanalytics php library. Samples: https://github.com/youtube/yt-samples-php
3) You can do so by getting a refresh token from OAuth2 Playground and setting it in your youtube object.
Here it explains a little more.
And a step by step video.
I'm going to use XMPPHP to implement a chat service for android clients. In XMPPHP I had to use third party char server like google talk. My question is instead of using third party chat server, is there a simple way to implement my own simple chat server ?
BTW, there are some free Chat servers - e.g. QuickBlox Chat
Look at it beautiful Android Android XMPP Chat sample - also there is video how it QuickBlox Android Chat video demo works.
I implemented some Android applications with Chat, i used QuickBlox - it's simple to understund how to integrate chat into your application using this sample's code & sample's documentation
I want to develop a bot which will update the status of a facebook account using php.
Please guide me on this
#Porkchop is correct, you will probably need the Facebook Connect API. To update a users status on Facebook, you should look at the Status.set API call.
For coding a googletalk bot in php there are some articles that should get you started:
Twitter PHP Jabber Bot Tutorial
Jabber Simple - A PHP library
But also consider using IMified, which does a lot of the work of creating and running chat bots for you.
If all you are interested in is a simple way to update your Facebook status from you Google Talk status, you probably don't need to go to all that work - just install the 'Google Talk Status Synchronizer' facebook application.
You could hire somebody to do it for cheap by outsourcing it, i mean thats what i do when i dont know code.
Since you are coding in PHP, I recommend using Jaxl (Jabber XMPP Library).
It supports bot authentication using X-FACEBOOK-PLATFORM and updating facebook status should be a one line task using the library. http://github.com/abhinavsingh/JAXL