Facebook invitable_friends API with user locale - facebook

I use Unity3D to build WebGL game. And, now I'm trying to implement the invitable_friends API to show friend name.
I retrieved Friend's name in Unicode like "\u0e01f"(Thai character "ก") and "\u30b0"(Japanese character "グ") from Facebook Graph API.
In invite friend list, as I implemented my application with Japanese font, the "\u0e01f" character is not show.
So, I think about get the user's locale. Then, assign the correct font to show friends's name.
Do you have any ideas how to show user name with all language support?
or
Is it possible to get user's locale or country for invitable_friends API?
Thank you in advance!!
PS. I already tried the following query, but it's not work at all...
me/invitable_friends?fields=country,locale,name,id,picture

Related

Facebook locale and currency

The locale and currency field of the User Graph API object is Deprecated!
How do I can determine the locale of a person using my app?
I need this information for app localization
How do I can know about user currency for correct display of the products in my app?
You can now find user_currency in the payment_mobile_pricepoints field.
Don't forget to add payment_mobile_pricepoints to your "/me" FB API request
If you are using web canvas app, you can get current user locale from POST request, which facebook platform do each time when your app started. So you can find 2 fields: signed_request, fb_locale. It works only for current user.

I need to retrieve facebook user language with php

I'm building a very simple facebook app in which I would like to retrieve the facebook user language.
Since now, I retrieve the browser language to give the right language for the user but I think that retrieving the facebook user language is better and more precise.
Is there someone who can help a beginner?
Check out user node field locale.

facebook tagging using username from timeline url

I have mentioned my name in my native language hindi which makes it difficult for my friends who don't know hindi (other nationalities) to tag me. But since my username in timeline url is in english it should be available to tag me, but currently that's not the case.
eg. if my FB url is facebook.com/panchtatvam then I should be tagged using #panchtatvam
Since a timeline url is unique and many have used their usernames to personalise it, it is a feature that could allow tagging even if the name is not set in English.
Since this is not a bug but a feature request, I thought it better to get some views on the topic. And if u know any way to request the feature to FB team, do point it out.
You can always send feedback / comments to Facebook via Send Feedback page.

How to add facebook friends searchbar in website

I am learning facebook php and javascript sdk. I am trying to create a facebook search friend bar in my app where user types friends name and as user types, the searchbar should display most appropriate result while user is typing. Similar to what facebook search bar does. Is there a social plugin or any other tool available to acieve this task? To achieve this, I tried facebook comments plugin with user_friends permission. When user writes any friends name followed by # sign on comments field, facebook gives most appropriate result. But I dont know how to get what user wrote on comments. Any pointers will be helpful.
FB introduced API versoining. If you are going to create new app it will use version v2 and you will not get full friends list from me/friends.
/me/friends returns the user's friends who are also using your app
In v2.0, the friends API endpoint returns the list of a person's friends who are also using your app. In v1.0, the response included all of a person's friends.There are two key use cases where apps need access to non-app friends: tagging and inviting. In v2.0, we've added the Taggable Friends API and the Invitable Friends API to support these flows.After a person has logged in with v2.0 of Facebook Login, calling /v1.0/me/friends and/v2.0/me/friends` will both result in the v2.0 behaviour - both calls will return the set of the person's friends who also use the app.
Read this documentation
https://developers.facebook.com/docs/apps/upgrading
Either you can create this by yourself (not too much of complex). You have access to the friendlist, so you can get all the friends with /me/friends. You can store them (their name/info) into a variable in your application and implement search. This will make your facebook api concepts better.
Or there are many friend selectors plugin/codes that you can integrate in your application. But you'll have to modify them accordingly since you dont want to show a pre-populated list of friends instead you want to implement search.
I've used mbrevoort's multi-friend selector in my applications.
But if you just want to implement search, implementing on your own would be really easy and less complicated!

Get id's of people that are using your facebook app at this moment

How can I get a list of all the people that are using my Facebook app at this moment?
Is that even possible?
I need it in order to compare with user's friends, so the users would know if one of their friends playing the game right now...
You would need to store and surface this information in your own system. There is no Facebook API or method that returns this information.