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.
Related
I have integrated Facebook like and share button on PHP website. I was trying to send notification from website to Facebook app users.
Tried the stuff available on internet and facebook developers site but not able to get any clear idea.
Can anyone guide me or provide me a clear source?
This is my first time using Facebook PHP SDK (I don't have much knowledge on Facebook PHP SDK).
Thank you.
I dont have any idea about IOS development, and I code the web services for IOS apps. We have been given an app that should support login with facebook and login/register of its own.
Now, implementing login/register for the app is not an issue, but I need to know two things:-
1.) How do we implement a login in the IOS app using facebook.
2.) The app should be able to show and save certain events on facebook.
How would I/we implement these two functions. Do we implement these using web side code or IOS code..
Can anyone point me in the right direction..
Thanks
PS: I got to know about facebook-connect while I was selecting the tags ;)
Check the Facebook SDK. They have some really helpful links and tutorials. The Facebook repository from which you can get the ios SDK from is at this link. Also Facebook's developer portal is an awesome place to get started. If you have any further questions please let me know, I might be able to answer them.
I am trying to build a chat service within my site which will let users chat with their "friends" on the site. Their "friends" will be decided internally from a mysql database. The chat application should look like gchat where once a contact is clicked on, a tab on the bottom pops up and you are ready to chat.
Are there any good libraries which would allow for such functionality? Preferably ones that run over an ejabberd server although it can be something else. If not, what would be the best way of implementing such an in browser chat app in a zend/php framework?
Thanks
Edit:
After some more research I have come across libjingle. Would that be the kind of library that I am looking for? Or can anyone tell me more about libjingle and its uses?
I have used strophe.js for my site. This book was really helpful for me.
I've seen this question earlier on your website, but it didn't quite help me out yet...
Here is what I'm trying to achieve:
I have a Content Management System (PHP) that is installed on the server of the various websites of my customers. Whenever a user posts a new message on his website, a shorter version of this message is sent to social media sites. Right now, this is possible with twitter (using the OAuth library). But I would want it to work with facebook too....
When I create an app in Facebook i HAVE to assign ONE return URL. But because the to-be-used CMS system can be anywhere, it's quite useless to me?
Or is there a way to make this work?
Best regars, Robert
I'm not sure your exact need for the return URL here. However, having the CMS communicate with Facebook from the server side would be performed with the Graph API with the OpenGraph protocol. This sounds like what you are doing with Twitter's OAuth.
You can then code your CMS to use your API credentials and never leave the CMS server. There is even a PHP SDK available for Facebook which sounds like it would integrate well for you.
If the CMS is at a different URL for each individual, then they each need to create an app on their Facebook profile to add the communication in this method. Because Facebook requires the basename of the URL to be the same by design, for security. This is typically performed by enabling the end-user to configure their own "app" in their profile for communication and is very commonly done with Wordpress applications for the same purpose.
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