QuickBlox / ChattAR-ios

Augmented Reality Chat for iOS code sample (works with Facebook API and QuickBlox API)
http://quickblox.com/developers/Chattar
128 stars 88 forks source link

Application Does not Run #6

Open nivritgupta opened 9 years ago

nivritgupta commented 9 years ago

screen shot 2015-06-02 at 8 27 59 pm when i am trying to run the code ,I got an error ,FB Chat Authenticate Fail , please restart Application, Loader is Still spinning and error Message(FB Chat Authenticate Fail , please restart Application) Displaying again and again . and nothing happen .

on the Log i see these lines displaying

Presence: 2015-06-04 21:41:53.158 ChattAR[8188:170021] XMPP authentication failed 2015-06-04 21:41:53.204 ChattAR[8188:170021] XMPP disconnected 2015-06-04 21:41:53.253 ChattAR[8188:170021] QBReachability Flag Status: -R -------

soulfly commented 9 years ago

Facebook closed its XMPP Chat API recently

so there is no a quick solution now...

nivritgupta commented 9 years ago

Thanks for the information igor , I used Quickblux functionality in my application , one on one chat and group chat is working properly , but my client want to implement chat room similar as ChattAR app , will you please guide me regarding this

Sent from my iPhone Nivrit Gupta

On 05-Jun-2015, at 1:48 pm, Igor Khomenko notifications@github.com wrote:

Facebook closed its XMPP Chat API recently

so there is no a quick solution now...

— Reply to this email directly or view it on GitHub.

kaochenyuan commented 7 years ago

NOW CAN WORK?

kaochenyuan commented 7 years ago

Configuring the connection to Facebook via Jabber / XMPP (new method 2016!)

Configuring Jabber client: Service / Account type: XMPP / Jabber Gateway Server: vkxmpp.hopto.org Login: come_up_with_any_login@vkxmpp.hopto.org Password: come_up_with_new_password (at least 8 characters). Port: 5232

After the first time you connect with your login and password it will be bound to your Facebook account.

When you connect first time disconnect your anti-spam bot. The server is not able to answer his questions;) At the first successful connection bot will send the following text: Can not authorize in Fb. Bind your account according this manual: https://www.facebook.com/notes/fbjabber/552157911613317

 2. Binding VkJabberGate to your Facebook account. For example in the Chrome browser:

Screenshots: https://www.facebook.com/photo.php?fbid=448164178712754&set=oa.552781858217589&type=3&theater Open a new window in Incognito mode Go to www.facebook.com, log into your Fb account Click on the page icon in the upper left corner Go to Permissions, cookie data Copy the following fields values: datr, xs, c_user Send to the bot three separate messages: auth.userid=Your c_user Value auth.datr=Your datr Value auth.xs=Your xs Value

If all goes as it should you will have a few of the latest messages from your Facebook inbox and roster will be filled with list of your friends.