开发者

Facebook API get user local time without FBML

开发者 https://www.devze.com 2023-01-18 04:50 出处:网络
I\'m writing a Facebook Iframe canvas application using the Facebook Toolkit. There is a certain action where I need to store the date and time for the action, and in the future I want to render it fo

I'm writing a Facebook Iframe canvas application using the Facebook Toolkit. There is a certain action where I need to store the date and time for the action, and in the future I want to render it for the user as a date and time like (10:05 AM 20 September 2010).

The problem here is that each facebook user has his own local date and time. I found a solution using the FBML tag but I'm lo开发者_如何转开发oking for a non-fbml approach.

Any ideas?


Using FQL:

select timezone from user where uid = <user_id>

see user table

0

精彩评论

暂无评论...
验证码 换一张
取 消