I am developing an IFrame application in Facebook. What is the syntax for obtaining the user's locale? I am using PHP Client Library.
I tried this piece of code:
Users_getInfo ($ User_id, 'name, hometown_location'); $ Locale = $ user_details [0] ['hometown_space'] ['city']; Echo "Location:". $ Location; ? & Gt; But I get the following error:
Critical error: The offset string can not be used as an array in C: \ xampplite \ Htdocs \ FacebookApp \ deals Some people help me on this.
New Experiment:
$ me = $ fb-> ; API ('/ m'); $ Locale = $ me ['locale'];
Comments
Post a Comment