Java FB API我正在创建脸谱网Web应用程序,创建甚至跟随是所需的参数。
http://developers.facebook.com/docs/reference/rest/events.create
假设我必须与没有时区的对象约会。
Date startDate = new Date(); Date endDate = new Date();
有人能指导我如何转换这个需要FB格式。
startDate = (int) (System.currentTimeMillis() / 1000L); endDate = startDate + (1*60*60*24);
(1*60*60*24) = 1 day, replace with the length of your event.