Push Changes - Sep 09 2008

From Facebook Developer Wiki

Jump to: navigation, search

r120258 | rhe | 2008-09-05 18:44:56 -0700 (Fri, 05 Sep 2008) | 16 lines

  • We now check preload_fql settings when admin.setAppProperties is called to make sure that the values have been JSON-encoded. A common mistake was to pass in a blank array to clear preload FQL rather than a JSON-encoded blank array. This failed on DB queries and actually returned true. We now input-check the value.

r120355 | ccheever | 2008-09-08 02:53:52 -0700 (Mon, 08 Sep 2008) | 14 lines

  • For FBML canvas pages, adding a header to the HTTP request that Facebook sends to the app server. X-FB-USER-REMOTE-ADDR is the IP address of the user who is requesting the page's browser. If you are using an iframe or image to get the IP address of the user, this should be a more convenient and faster solution.
reference