LoginSignup
5
5

More than 5 years have passed since last update.

facebook-ios-sdk にて locale考慮したプロフィールを取得する

Last updated at Posted at 2012-05-23

意外と知られていない、Facebook API の使い方を読んで、なるほどと思ったのでiOSで試しました。

addParams
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
         @"ja",  @"locale", nil];
[self.facebook requestWithGraphPath:@"me" andParams:params andDelegate:self];

ちなみに、以下では上手くいかなかった。

include_params_to_path
[self.facebook requestWithGraphPath:@"me/?locale=ja" andDelegate:self];
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5