I want to integrate the Facebook chat system in my PHP based website. I have
searched developers.facebok.com for data, but it says very little about Jabber XMPP, and I don't know how to use it. If you could post some step-by-step tutorial for integration of Facebook chat or any link for that tutorial that would be so nice of you.
I just want to add Facebook chat as I need to do add some on action events for this chat.
So I want a code tutorial for this. I'm searching for any direct code embedding.
Give Jaxl PHP Library a try which also supports X-FACEBOOK-PLATFORM authentication method. There are plenty of examples xfacebook_platform_client.php to help getting started.
I do not think that you can embed existing Facebook chat so you have to write your own client. As Facebook chat protocol is Jabber/XMPP, you have to implement a chat with XMPP capability.
There are some libraries mentioned on http://xmpp.org/xmpp-software/libraries/. Maybe there is also a ready-to-use XMPP chat software.
Direct code embedding of facebook related chat , you can consider impossible since integrating facebook chat is really a tough job and people actually pay and get it , for example CometChat . The second point is that , since your website is purely php based , it will be much more difficult . Better use nodejs to create a socket server make a chat in Javascript that would connect to our Nodejs server.
As you , go through this implementation , your job will no longer seem hard . Believe me , it took me months to realise that php wrecks in this area of chat .
Related
I have a Quiz App for Android, it has the API made in php.
It run good for one player, but I need to implement a multiplayer option, my idea is that one user send invitation to a friend, then this friend accept her invitation and the two mobiles start to the same time.
I'm googling and I know that I've to use a room of Google API, but is it true that I have to pay $ 25 to access GCM API?
For can access to API GCM credentials i have use this console (https://play.google.com/apps/publish/signup/) and make developer account...
It's okay? or i don' t understood well?
If i understood well, how can i implement the service that create a Room, i want say, When can i start googling?, if i didn't undestood well, could you explain to me how do?
Please a need help, i'm losing on this theme :(
If you're trying to access Google Play Developer Console, where you can Publish or Manage your apps, you need to pay a one-time fee of $25.
The calls to the Google Play Games Services are free. Since you seem to be creating a real-time multiplayer, check the Quick Game option for Android. However, if you're going to implement REST calls they have the Get Started with Play Games Services for Web guide.
I currently have Google OAuth 2.0 for authentication. Next I want to be able to use google hangouts in my website so users can chat with each other, along with showing their contact list. So basically I want it to look like how it is on gmail but on my website for hangouts. Main reason for doing this, I want my users to be able use hangouts as a mode of communication. Please let me know if this is possible and provide the necessary resources, an example/demo of this working would really be helpful.
Im afraid there's no API at the moment available (nor plans for that) to access the text chat feature of Hangouts.
yes, you can. More information about google hangouts API here https://developers.google.com/+/hangouts/getting-started
I have an api, which has a regular email password login. But I want to add facebook logins.
Do I need an app registered on facebook?
Do I need to force users to register using facebook, or just link their facebook account to their account and use it as a form of auth.
How does this tie into mobile apps? Given I am writing the API, what info does the client provide for a facebook login and what do I need to store?
There is a plethora of info out there and I am not sure where to start. I am writing an API, but I am not sure how much work my API has to do and how much the client just has to deal directly with facebook. Any specific guides tailored more toward what I am doing would be great.
A simple library called HybridAuth available that takes the pain out of building a social login feature.
Here is a very detailed tutorial from Sitepoint.
I am answering this even though this question in 1 year old, because this is visible on google search top 3 links. It might help someone who stumble upon this like I did few months ago.
This question is not a 'do it for me question' I have spend ages and ages on google trying to find a solution or service
I am basically trying to create a notification on my website that I can push to the server and play to my users as and when I need to alert them,
I have a website where my users will react when I have posted information and I need to alert them with sound increasing their reaction time.
Im using a Joomla 3.2.3 based website
This is previously dicussed here and here
I think it is probably most viable to write an ajax-based module that query the server every X seconds, and pop up notifications if there are any. Using websockets is probably a lot more work,
regards Jonas
Am not sure there is a feature like ,
automatically update twitter tweet in to facebook ,
May i know is there any like automatic update ,
For Should i use API or CURL , or anything else ,
Thanks
just i find one thread from google
link text
Is there any thing else then this thread...
You can do it using the twitter application on facebook. There is more helpful information here
There are a couple existing ways to do this. As Shadi suggested you can use the official twitter app. or if you would like more control on what is sent to facebook you can use tweelay.net (full disclosure: i am the sole developer of tweelay)
If you wanted to roll your own:
I suggest using the Twitter Streaming API backed up by a standard statuses/home_timeline call from a cron job every minute or so to grab tweets. then with the tweets you can send them to facebook using the Graph API.
There are several existing libraries that can be used to get you started.