I am trying to set expire_by time(1 hour/1 day from the current time stamp in Unix) in my payment link in time stamp Unix format as given in the documentation but it's always throwing 400 bad request errors.
Related
So Im working on a gaming community and have a "Roll Call" form they fill out each day they play with us so we can track if they are active. This form comes with name, the unit they are in and the timestamp when it was submitted (only important pieces). It is all sent to a google sheets page and has a google forms page linked.
What I am trying to do is to have it so in their roster, the most recent roll call will update a cell next to their name with the date submitted, while also changing the colour of the cell to indicate if it fits within a certain time period.
Currently, I have tried =IF('Roll Call'!A3:A<TODAY(-3)AND('Roll Call'!B3:B=D6),"ACTIVE","Innactive")
A3:A is all timestamps logged, B3:B is the name submitted and D6 on the sheet is the name of the person. Eventually I want it to be that if submitted within 3 days they are active, if submitted within 3-6 days its inactive and after 7 days they are "AWOL".
For now, Im not fussed about the changing colours based on activity, I just want it to auto update the last submitted timestamp in Day/Month/Year format based on the name of the person submitted. Anyone able to direct me and help me in any way?
Main Roster Page
Raw data roll call page
try:
=IF(IFNA(FILTER('RAW - ROLL CALL'!A2:A, 'RAW - ROLL CALL'!A2:A<TODAY()-3, 'RAW - ROLL CALL'!B2:B=E6))="",
"ACTIVE", "INNACTIVE")
If I write the following url in the browser, I get a CSV file with weekly data from Google Trends:
www.google.com/trends/trendsReport?q=SearchTerm&export=1
In the past, this file would have been the same as the one obtained by manually clicking the "export as CSV" button on the Google Trends page. But now, instead, by using this button I get a data file with monthly data.
Does anyone know whether it is possible to obtain this monthly file by using an url similar to the above-mentioned one?
You could use date parameter with your request
www.google.com/trends/trendsReport?q=SearchTerm&export=1&date=01/2010 37m
Some pages recommend to use more than 36 months, but I tried with 140 months and always returns weekly data. Check this page for more reference, https://github.com/GeneralMills/pytrends
Also, you could check how to call this url
https://www.google.com.mx/trends/api/widgetdata/multiline/csv?req=%7B%22time%22%3A%222004-01-01%202016-10-07%22%2C%22resolution%22%3A%22MONTH%22%2C%22locale%22%3A%22es-419%22%2C%22comparisonItem%22%3A%5B%7B%22geo%22%3A%7B%7D%2C%22complexKeywordsRestriction%22%3A%7B%22keyword%22%3A%5B%7B%22type%22%3A%22BROAD%22%2C%22value%22%3A%22pope%22%7D%5D%7D%7D%5D%2C%22requestOptions%22%3A%7B%22property%22%3A%22%22%2C%22backend%22%3A%22IZG%22%2C%22category%22%3A0%7D%7D&token=APP6_UEAAAAAV_kTww_1wNWLYGrce91gQBIxkGPV4lGg&tz=300
This return a monthly data, but it appear you need to use a token
decoded url:
https://www.google.com.mx/trends/api/widgetdata/multiline/csv?req={"time":"2004-01-01 2016-10-07","resolution":"MONTH","locale":"es-419","comparisonItem":[{"geo":{},"complexKeywordsRestriction":{"keyword":[{"type":"BROAD","value":"pope"}]}}],"requestOptions":{"property":"","backend":"IZG","category":0}}&token=APP6_UEAAAAAV_kTww_1wNWLYGrce91gQBIxkGPV4lGg&tz=300
I am using FB API for creating events and I have problem with timeformat of start_time. When I use this format:
2013-05-04T09:00:00+0200
witch is relevant to my timezone I am getting back error code 100 about Invalid parameter.
I've tested that a little bit so I know that problem is in "+". When I use this api same way but for any time with "-" (2013-05-04T09:00:00-0200) it works and event is created - of course with wrong time displayed on FB page...
Any ideas? Thank you very much!
I write mobile application with Corona SDK that interacts with Facebook.
On user's Facebook login I receive "expiration of access token" from Facebook in ms.
I want to send it to Parse.com (SAAS) in the yyyy-MM-dd'T'HH:mm:ss.SSS'Z' date format.
How can I do it?
date = os.date("!%Y-%m-%dT%H:%m:%S.000Z")
You'll have to leave the milliseconds as 0, because you can't get those from os.date. Also the ! at the start is required to get UTC time (as opposed to local time), which is what the Z at the end signifies.
More info.
The LuaDate library apt for Date Manipulationss
http://luaforge.net/projects/date/
It is very easy to use, and it is documented well!
You can download it from here
http://files.luaforge.net/releases/date/date
There may be other easier ways as well.
I want to read my status message that was posted at a particular date, say 6 months back. Is it possible to fetch this message using the Facebook Graph APIs?
Thanks,
Saurabh
Yes, check for the since and until parameters.
http://developers.facebook.com/docs/reference/api/
until, since (a unix timestamp or any date accepted by strtotime): https://graph.facebook.com/search?until=yesterday&q=orange