Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8759267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:45:35+00:00 2026-06-13T14:45:35+00:00

We have implemented an iphone app which uses the facebook chat, partly over xmpp

  • 0

We have implemented an iphone app which uses the facebook chat, partly over xmpp and partly over the facebook graph api.

Everything is fine, until it comes to emoticons. When we enter the emoticon on the iPhone, we get the correct emoticon on our display.

But the message, we get from facebook is some other escape sequence as we sendt to facebook via xmpp.

Heres an example:
We send the following xml via xmpp:

<message type="chat" to="-someFacebookID@chat.facebook.com"><body></body></message>

When we recall that message from facebook we get the follwing:

{
"author_id" = someID;
body = "\Uf637";
"created_time" = 1351607849;
"message_id" = "someID_41";
"thread_id" = someID;
}

Here is our FQL-Statement for the messages:

@"SELECT message_id, author_id, thread_id, created_time, body FROM message WHERE thread_id = %@"

But why does facebook convert the emoticon, which displays correctly in the facebook-chat on the website?
Any ideas on this problem?

Regards,
Daniel

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:45:37+00:00Added an answer on June 13, 2026 at 2:45 pm

    The returned text (such as “\Uf637” in your sample) is the unicode representation of the emoticon. Facebook’s database does not store emoticons in their full form, they are converted to unicode, and are converted back to their emoticon form when displayed on Facebook’s apps. You’ll probably have to do the same thing in your own app when using the Chat API (for all unicode emoticon-like strings found, convert it to the actual emoticon). Here is a full list of unicode codes with their matching emoticon symbols: http://www.unicode.org/charts/PDF/U1F600.pdf

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented admob in my iPhone app, but the view which was created
In my iPhone app I have implemented a custom tab bar which functions perfectly,
I am building an iPhone app and I have implemented a section for knowledge
I was wondering how to only let iPhone 4 use my app which uses
I have a simple iPhone app which accesses some remote data on start-up then
I have just implemented Flurry into my iPhone app. My app is targeting a
I have implemented a UITableView, which shows up fine as a subview in my
I am working on a app which has push notification in it.I have implemented
In my iPhone App to keep app running in background I have implemented AVAudioPlayer
I have the following code which worked fine before I implemented jquery mobile. Now,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.