Closed CoryCharlton closed 9 years ago
Here's the request:
GET https://api.500px.com/v1/photos/108362215/votes?oauth_callback=http%3A%2F%2Flocalhost%3A1234%2FOAuth%2F&oauth_consumer_key=<REMOVED>&oauth_nonce=8030571&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431738939&oauth_token=<REMOVED>&oauth_version=1.0&oauth_signature=zOojQ1JIFJe6TN3oI%2BDxR7qAbuQ%3D HTTP/1.1
Host: api.500px.com
And response:
HTTP/1.1 200 OK
Date: Sat, 16 May 2015 01:15:40 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Status: 200 OK
X-UA-Compatible: IE=Edge,chrome=1
ETag: "d85e56bebf62a0cbc952368c293727c3"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _hpx1=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJWUyMGZmMmJiOWM3ODljNTQ3MDUwYWVlZDdjNDVhZTU5BjsAVEkiCWhvc3QGOwBGIhJhcGkuNTAwcHguY29t--8fb018743d64d2ac86d23fc7ce5dff2fad977b58; domain=.500px.com; path=/; HttpOnly
X-Request-Id: 03622069b94dd6c409a5ace2b3bf01d1
X-Runtime: 0.038434
X-Rack-Cache: miss
Server: api15
Content-Length: 10581
{"current_page":1,"total_pages":1,"total_items":36,"users":[{"id":1281457,"username":"GiuseppeSapori","firstname":"Giuseppe","lastname":"Sapori","city":"Rome","country":"","usertype":0,"fullname":"Giuseppe Sapori","userpic_url":"https://pacdn.500px.org/1281457/676f0089f0a44efdc2430544edc50af768305a7d/1.jpg?43","userpic_https_url":"https://pacdn.500px.org/1281457/676f0089f0a44efdc2430544edc50af768305a7d/1.jpg?43","cover_url":"https://pacdn.500px.org/1281457/676f0089f0a44efdc2430544edc50af768305a7d/cover_2048.jpg?5","upgrade_status":2,"store_on":true,"affection":3905,"followers_count":298},{"id":557368,"username":"georgeoan","firstname":"George","lastname":"Oancea","city":"Bellevue","country":"USA","usertype":0,"fullname":"George Oancea","userpic_url":"https://pacdn.500px.org/557368/d3a95a9a15b08add1afcecda7e83ebe29130b0ea/1.jpg?5","userpic_https_url":"https://pacdn.500px.org/557368/d3a95a9a15b08add1afcecda7e83ebe29130b0ea/1.jpg?5","cover_url":"https://pacdn.500px.org/557368/d3a95a9a15b08add1afcecda7e83ebe29130b0ea/cover_2048.jpg?2","upgrade_status":1,"store_on":true,"affection":75351,"followers_count":1189},{"id":11094959,"username":"gordonshelp","firstname":"Gordon","lastname":"Shelp","city":"Ansonia","country":"USA","usertype":0,"fullname":"Gordon Shelp","userpic_url":"https://pacdn.500px.org/11094959/f729e4c3ba4896cccbd2c3f5af63905eab971fa5/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/11094959/f729e4c3ba4896cccbd2c3f5af63905eab971fa5/1.jpg?1","cover_url":"https://pacdn.500px.org/11094959/f729e4c3ba4896cccbd2c3f5af63905eab971fa5/cover_2048.jpg?1","upgrade_status":1,"store_on":true,"affection":4505,"followers_count":188},{"id":9213957,"username":"carol20","firstname":"Carol","lastname":"Filbin","city":"Richmond","country":"United States","usertype":0,"fullname":"Carol Filbin","userpic_url":"https://pacdn.500px.org/9213957/4f0d8651c5c49e7e53c6307d29e740aa1c192cd5/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/9213957/4f0d8651c5c49e7e53c6307d29e740aa1c192cd5/1.jpg?1","cover_url":"https://pacdn.500px.org/9213957/4f0d8651c5c49e7e53c6307d29e740aa1c192cd5/cover_2048.jpg?5","upgrade_status":0,"store_on":true,"affection":21215,"followers_count":2392},{"id":8525953,"username":"yimy1957","firstname":"","lastname":"","city":"Buenos Aires ","country":"Argentina","usertype":0,"fullname":"yimy1957","userpic_url":"https://pacdn.500px.org/8525953/0593ada611f5b871a7cbf43891493ace208047a3/1.jpg?2","userpic_https_url":"https://pacdn.500px.org/8525953/0593ada611f5b871a7cbf43891493ace208047a3/1.jpg?2","cover_url":"https://pacdn.500px.org/8525953/0593ada611f5b871a7cbf43891493ace208047a3/cover_2048.jpg?23","upgrade_status":0,"store_on":true,"affection":17487,"followers_count":615},{"id":11488761,"username":"AlexanderPolomodov","firstname":"Alexander","lastname":"Polomodov","city":"Moscow","country":"Russia","usertype":0,"fullname":"Alexander Polomodov","userpic_url":"https://pacdn.500px.org/11488761/55d9b1803e1f4e78aa0bcf00300da22e82d30454/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/11488761/55d9b1803e1f4e78aa0bcf00300da22e82d30454/1.jpg?1","cover_url":"https://pacdn.500px.org/11488761/55d9b1803e1f4e78aa0bcf00300da22e82d30454/cover_2048.jpg?11","upgrade_status":1,"store_on":true,"affection":37901,"followers_count":1102},{"id":12373143,"username":"amirhosseinkashiri","firstname":"amirhossein","lastname":"kashiri","city":"kish island","country":"iran","usertype":0,"fullname":"amirhossein kashiri","userpic_url":"https://pacdn.500px.org/12373143/3b3630a969fcbe3b6158e3ccf874c47f4193a6aa/1.jpg?2","userpic_https_url":"https://pacdn.500px.org/12373143/3b3630a969fcbe3b6158e3ccf874c47f4193a6aa/1.jpg?2","cover_url":null,"upgrade_status":0,"store_on":true,"affection":752,"followers_count":42},{"id":755079,"username":"PasiAhola","firstname":"Pasi","lastname":"Ahola","city":"LAPUA","country":"Finland","usertype":0,"fullname":"Pasi Ahola","userpic_url":"https://pacdn.500px.org/755079/384dcdecb5193832488477ffc20d2a872fda5317/1.jpg?3","userpic_https_url":"https://pacdn.500px.org/755079/384dcdecb5193832488477ffc20d2a872fda5317/1.jpg?3","cover_url":"https://pacdn.500px.org/755079/384dcdecb5193832488477ffc20d2a872fda5317/cover_2048.jpg?13","upgrade_status":1,"store_on":true,"affection":35807,"followers_count":1622},{"id":10821975,"username":"tultulsmail","firstname":"Lital","lastname":"Lopatinski","city":"","country":"","usertype":0,"fullname":"Lital Lopatinski","userpic_url":"https://pacdn.500px.org/10821975/5ec1fe2b1ea5f9cf27417c55c8d3a8cc7d9dccec/1.jpg?10","userpic_https_url":"https://pacdn.500px.org/10821975/5ec1fe2b1ea5f9cf27417c55c8d3a8cc7d9dccec/1.jpg?10","cover_url":"https://pacdn.500px.org/10821975/5ec1fe2b1ea5f9cf27417c55c8d3a8cc7d9dccec/cover_2048.jpg?1","upgrade_status":0,"store_on":true,"affection":465,"followers_count":18},{"id":10782357,"username":"riankrenzer","firstname":"Rian","lastname":"Krenzer","city":"","country":"","usertype":0,"fullname":"Rian Krenzer","userpic_url":"https://pacdn.500px.org/10782357/9e96794d492dffde1420ea3502c5188833219432/1.jpg?2","userpic_https_url":"https://pacdn.500px.org/10782357/9e96794d492dffde1420ea3502c5188833219432/1.jpg?2","cover_url":"https://pacdn.500px.org/10782357/9e96794d492dffde1420ea3502c5188833219432/cover_2048.jpg?7","upgrade_status":1,"store_on":true,"affection":11333,"followers_count":568},{"id":640406,"username":"GRoyer","firstname":"Gilles","lastname":"Royer","city":"Melbourne","country":"Australia","usertype":0,"fullname":"Gilles Royer","userpic_url":"https://pacdn.500px.org/640406/a5b266421005d967c4e0526310fc8c007acb744b/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/640406/a5b266421005d967c4e0526310fc8c007acb744b/1.jpg?1","cover_url":"https://pacdn.500px.org/640406/a5b266421005d967c4e0526310fc8c007acb744b/cover_2048.jpg?9","upgrade_status":1,"store_on":true,"affection":90205,"followers_count":3151},{"id":490208,"username":"AndreyVlasov","firstname":"Andrey","lastname":"Vlasov","city":"Mariupol","country":"Ukraine","usertype":0,"fullname":"Andrey Vlasov","userpic_url":"https://pacdn.500px.org/490208/456e640127072dc7d978956d8419fd12b93b7850/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/490208/456e640127072dc7d978956d8419fd12b93b7850/1.jpg?1","cover_url":"https://pacdn.500px.org/490208/456e640127072dc7d978956d8419fd12b93b7850/cover_2048.jpg?2","upgrade_status":0,"store_on":true,"affection":18667,"followers_count":523},{"id":12162143,"username":"Ektorase","firstname":"EKTOR","lastname":"PHOTO","city":"","country":"Greece","usertype":0,"fullname":"EKTOR PHOTO","userpic_url":"https://pacdn.500px.org/12162143/8106fa25adc07d4d00d91d8113ee984bf3fd1433/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/12162143/8106fa25adc07d4d00d91d8113ee984bf3fd1433/1.jpg?1","cover_url":"https://pacdn.500px.org/12162143/8106fa25adc07d4d00d91d8113ee984bf3fd1433/cover_2048.jpg?4","upgrade_status":0,"store_on":false,"affection":2716,"followers_count":302},{"id":9412297,"username":"jinsupark9","firstname":"Jinsu","lastname":"Park","city":"Seoul","country":"South korea","usertype":0,"fullname":"Jinsu Park","userpic_url":"https://pacdn.500px.org/9412297/7023fd2a90e3a30e32fe1378c3b8efe0b134a6fd/1.jpg?3","userpic_https_url":"https://pacdn.500px.org/9412297/7023fd2a90e3a30e32fe1378c3b8efe0b134a6fd/1.jpg?3","cover_url":"https://pacdn.500px.org/9412297/7023fd2a90e3a30e32fe1378c3b8efe0b134a6fd/cover_2048.jpg?5","upgrade_status":0,"store_on":false,"affection":4549,"followers_count":193},{"id":4351164,"username":"zlatanlipljanac","firstname":"Zlatan","lastname":"Lipljanac","city":"Prnjavor","country":"Bosnia and Herzegovina","usertype":0,"fullname":"Zlatan Lipljanac","userpic_url":"https://pacdn.500px.org/4351164/18bc55fd271ceddab8e1d73dc0eec3e56f54ce9c/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/4351164/18bc55fd271ceddab8e1d73dc0eec3e56f54ce9c/1.jpg?1","cover_url":"https://pacdn.500px.org/4351164/18bc55fd271ceddab8e1d73dc0eec3e56f54ce9c/cover_2048.jpg?8","upgrade_status":0,"store_on":true,"affection":16589,"followers_count":1246},{"id":314722,"username":"Memw","firstname":"","lastname":"","city":"Abqaiq","country":"Saudi Arabia","usertype":0,"fullname":"Memw","userpic_url":"https://pacdn.500px.org/314722/b3da32e14c7a59fd92f4506f7121a8e0ebd265ab/1.jpg?1","userpic_https_url":"https://pacdn.500px.org/314722/b3da32e14c7a59fd92f4506f7121a8e0ebd265ab/1.jpg?1","cover_url":"https://pacdn.500px.org/314722/b3da32e14c7a59fd92f4506f7121a8e0ebd265ab/cover_2048.jpg?5","upgrade_status":0,"store_on":true,"affection":2386,"followers_count":160},{"id":10862779,"username":"ASloim","firstname":"Arnaud","lastname":"S","city":"Paris","country":"France","usertype":0,"fullname":"Arnaud S","userpic_url":"https://pacdn.500px.org/10862779/91dd33e4bf65f17570c7530afb72affddb33e9cf/1.jpg?7","userpic_https_url":"https://pacdn.500px.org/10862779/91dd33e4bf65f17570c7530afb72affddb33e9cf/1.jpg?7","cover_url":"https://pacdn.500px.org/10862779/91dd33e4bf65f17570c7530afb72affddb33e9cf/cover_2048.jpg?8","upgrade_status":0,"store_on":true,"affection":20691,"followers_count":2251},{"id":2363939,"username":"filsaahd","firstname":"Filsa Bint","lastname":"Ahmed","city":"","country":"","usertype":0,"fullname":"Filsa Bint Ahmed","userpic_url":"https://pacdn.500px.org/2363939/e57af030b8ccc0ab00ffa172327a42de5c32d107/1.jpg?9","userpic_https_url":"https://pacdn.500px.org/2363939/e57af030b8ccc0ab00ffa172327a42de5c32d107/1.jpg?9","cover_url":"https://pacdn.500px.org/2363939/e57af030b8ccc0ab00ffa172327a42de5c32d107/cover_2048.jpg?23","upgrade_status":0,"store_on":true,"affection":27981,"followers_count":661},{"id":8332919,"username":"omero33","firstname":"\u00d6mer","lastname":"\u00d6zt\u00fcrk","city":"Mersin","country":"T\u00fcrkiye","usertype":0,"fullname":"\u00d6mer \u00d6zt\u00fcrk","userpic_url":"https://pacdn.500px.org/8332919/fc51841175f2c3cb1c59698fa02f133b8cbcb8ff/1.jpg?5","userpic_https_url":"https://pacdn.500px.org/8332919/fc51841175f2c3cb1c59698fa02f133b8cbcb8ff/1.jpg?5","cover_url":"https://pacdn.500px.org/8332919/fc51841175f2c3cb1c59698fa02f133b8cbcb8ff/cover_2048.jpg?58","upgrade_status":0,"store_on":false,"affection":1533,"followers_count":75},{"id":1525243,"username":"MariSosa","firstname":"Mari","lastname":"Sosa","city":"El Paso","country":"USA","usertype":0,"fullname":"Mari Sosa","userpic_url":"https://pacdn.500px.org/1525243/2513038a9c79e2b6905228da694cf881ff108418/1.jpg?6","userpic_https_url":"https://pacdn.500px.org/1525243/2513038a9c79e2b6905228da694cf881ff108418/1.jpg?6","cover_url":null,"upgrade_status":0,"store_on":true,"affection":15119,"followers_count":787}]}
Thanks for this bug report! I've found and fixed the issue and I'll update this ticket when the fix has been deployed.
Hey @machx0r I believe this issue should be fixed now.
Sorry @machx0r, we found a related issue that caused this problem to continue. Should have a fix out shortly.
BTW, please contact support to rotate your consumer key (best not to post it publicly).
This should be resolved now.
Thanks for the quick response guys! Confirmed fixed on my end. Keep up the great work!
As the title states the call to 'photos/:id/votes' returns an invalid value for 'total_pages'. As far as I can tell it is always returning one.
Here is an example of a photo that has 24 votes but the API says there is only one page. The number of users returned is 20.
https://api.500px.com/v1/photos/108362215/votes