I am using JSDK, but the problem is for sure in FQL request.
I am trying select which makes basic operation and i want to name the result. But facebook always name it "anon"
SQL example:
SELECT (register_time - unregister_time) AS time_registered FROM users where id='1';
It is all about keyword AS.
FQL with problem:
SELECT 1 + 2 from user where uid=me();
It works, but result 3 will have name anon. But I want something like this:
SELECT 1 + 2 AS result from user where uid=me();
Unfortunately it doesn't know "AS".
Of course I can get value from "anon". But it is quite unhandy when there is more these values.
Is there any way how to name it?
Currently facebook FQL doesn't supports select column name "AS" alias
. We all love to have to this feature. It's really unhandy to access such instances.
So we have to wait for some time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With