I noticed this on the Code Exchange comments a while back and now it’s come back to haunt me.
I’m trying to get Users who log-in via Facebook to be added to my Parse.com database.
The problem lies with Facebook returning a UNIX timestamp for expiration_date and Parse.com seemingly needing this in a SimpleDateFormat yyyy-MM-dd’T’HH:mm:ss.SSS’Z’
I’ve tried to convert the timestamp with os.date("*t", expiration_date), JSON the table and cocatenate the various elements into a string - however after a couple of hours getting nowhere I’m struggling with the frustration.
Does anybody know of a better way?