Java fb API I am creating facebook web application, to create even following is the required params.
http://developers.facebook.com/docs/reference/rest/events.create
Problem is with start_time and end_time .
Just assume i am have to Date objects without timezone.
Date startDate = new Date();
Date endDate = new Date();
can anybody guide me how to convert this require fb format.
I believe you need to convert to seconds from milliseconds.
Where
From the results, the offset (if required) can be worked out and added into the startDate creation.