We are currently experiencing payment processing issues. Our team is working to resolve the problem as quickly as possible. Thank you for your patience
Error in Fakku API
0
I tried using the Fakku API to write a Desktop client for Fakku but I found a relative anoying bug in the Fakku API.
using a complex search call in combination with paging leads to an error until you open the non-api version of the page in browser.
example:
1. calling http://api.fakku.net/search/naruto%20-yaoi%20-oppai/page/3 leads to an error and no refresh url
2. opening https://www.fakku.net/search/naruto%20-yaoi%20-oppai/page/3 in browser shows the content.
3. retrying http://api.fakku.net/search/naruto%20-yaoi%20-oppai/page/3 suddenly works
afterwards the search API-call works like a charm but if I try another url (for example page 4) the problem returns.
using a complex search call in combination with paging leads to an error until you open the non-api version of the page in browser.
example:
1. calling http://api.fakku.net/search/naruto%20-yaoi%20-oppai/page/3 leads to an error and no refresh url
2. opening https://www.fakku.net/search/naruto%20-yaoi%20-oppai/page/3 in browser shows the content.
3. retrying http://api.fakku.net/search/naruto%20-yaoi%20-oppai/page/3 suddenly works
afterwards the search API-call works like a charm but if I try another url (for example page 4) the problem returns.
0
This is somewhat intentional, the API is meant to display a "cache stale" error in this situation and a refresh URL to fill the cache.
Your code could accommodate for this (once the error is working properly) by CURLing the refresh URL in the background if a cache stale error is received.
Your code could accommodate for this (once the error is working properly) by CURLing the refresh URL in the background if a cache stale error is received.