Pageview API data with PHP #881
-
I'm trying to retrive pageviews with PHP. I wrote following code but it doesn't work well. Could someone kindly help me?
It returns Also empty with connecting from browser, i.e.: *But it worked with Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to append 000 to the end of your unix timestamp since javascript uses milliseconds but php uses seconds, the API expects milliseconds |
Beta Was this translation helpful? Give feedback.
You need to append 000 to the end of your unix timestamp since javascript uses milliseconds but php uses seconds, the API expects milliseconds