jgorset/facepy — Issue #14: Weird behaviour when there is a JSON object conaining a "data" attribute
Author: Morpho
Created: 2011-11-03 15:24:22+00:00
State: open

Hi,
still love your work and use it in quite alot of projects! :)

But I guess there is something wrong when I try to GET an "apprequest", I only get the contents of the "data" attribute which is "tracking data here" but nothing else. I guess its some kind of conflict between "data" variables in your facepy Code and "data" attributes inside the json structure.

{
"id": "222162114516955",
"application": {
"name": "-----------------------------------",
"canvas_name": "-----------------",
"namespace": "-------------------",
"id": "--------------------"
},
"to": {
"name": "------------",
"id": "------------"
},
"from": {
"name": "----------",
"id": "----------"
},
"data": "tracking data here",
"message": "---------------------------",
"created_time": "2011-11-03T11:10:35+0000",
"type": "apprequest"
}

I try to figure out whats wrong but Im not the best coder. ;)