Talk:Parameter types
From Facebook Developer Wiki
Contents |
[edit] More types
What about "map"? How is it supposed to be sent? --657205366 13:53, 28 August 2007 (PDT)
- Can you give an example function where this is used? Thanks! 1230541 23:47, 28 September 2007 (PDT)
- It's listed in http://wiki.developers.facebook.com/index.php/Data.setUserPreferences. --657205366 09:49, 30 September 2007 (PDT)
[edit] Strings and HTML entities / numeric forms
What about passing HTML entities like ’ or  into a string value? Things like & and ' are handled, but some of the rarer entities give an ASCII 25, or “end of medium”. 61201039 08:56, 24 October 2007 (PDT)
Image:Example.jpg
[edit] Timezone for time values
It would be helpful if the time type definition included information about time zone. e.g., time in GMT, time in the user's local time, etc.
[edit] Objects vs. Arrays
PHP developers! JavaScript and JSON make a distinction between an "array" and an "object". This is a JSON array:
["one", "two", "three"]
This is not an array, it's a JSON object:
{"one": 1, "two": 2, "three": 3}
See also json.org for the correctly terminology. It's terribly confusing to mix these terms. I'm going to try and right the FB documentation, since it seems to be only the terminology and not the actual APIs that is mixed up. --670529282 12:27, 23 March 2009 (PDT)
