English 中文(简体)
从面板连接到当地家乡
原标题:Localized hometown from facebook connect

When using facebook connect with devise, I get the hometown like this:

... hometown=#<Hashie::Mash id="116045151742857" name="Munich, Germany">
locale="de_DE" ...

Is there a way to get each users hometown in his own locale or at least in one set locale (de_DE in my case), e.g. "München, Deutschland" with the facebook API?

如果我不需要的话,我不想打上我自己的家乡数据库。

最佳回答

注:经测试后,可尝试添加和安装;可在当地=de 页: 1 你们能够从用户的物体那里获得当地用户,这样就能够使每个用户都熟悉。 是否用用户语言绘制了“/专题”图表,然后是“/me? locale=de_DE”。

As I ve said, I ve not tested so it may not change the content of the field (e.g. Germany -> Allemande) but worth a shot if you ve not tried it.

问题回答

暂无回答




相关问题
Facebook Connect login dialog not working

I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...

Facebook App Profile Tab is Empty ... No Content Displayed?

I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...

Facebook Platform error: "Object cannot be liked"

I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...

how to call showPermissionsDialog() in php (facebook api)?

I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...

Facebook connect

If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...

热门标签