mrjoee
Forum Replies Created
-
Yes, I tried with some other popular pages as you suggested but it still doesn’t seem to want to work. I have also tried other plug-ins and they return the same error. I have even set up an app with ID and secret to grant access and it works for users, but not public pages. I do not know why this is happening. It seems to be working just fine on another host so it seems this may be the issue, but laughing squid are usually very reliable when it comes to hosting wordpress.
Thanks. I actually migrated it over to another host last night and it is still doing the same. Perhaps both servers are reaching it, although having been googling the error, many people believe it could be a facebook bug?
Thanks for the quick reply. I had a read through some of the other support issues and already increased the sync time to 1440 minutes three days ago and this hasn’t solved the issue. I also changed the fb remote data function two days ago as per another of your support tickets (see bottom of post) and this also didn’t solve the problem.
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
I ran your debug script and received the following:
"error": { "message": "(#4) Application request limit reached", "type": "OAuthException", "code": 4 }
Does the plug-in use an API and is it perhaps being maxed out by other users?
This is the steps to replace the function I used:
1. open srizon-fb-album-front.php (or srizon-fb-album-front-pro.php in case of pro version)
2. locate the last function ‘srz_fb_remote_to_data’
3. replace that whole function with the following version (assuming you have curl library enabled on your server)function srz_fb_remote_to_data($url){ if(isset($_GET['debugjfb'])){ echo 'getting remote data from:'.$url; } require_once (dirname(__FILE__) . '/mycurl.php'); $fbcurl = new SrzFBMycurl($url); $fbcurl->createCurl(); $fbcurl->setUserAgent(''); $fbcurl->setCookiFileLocation(''); $fbcurl->setReferer(''); $data = $fbcurl->tostring(); if(isset($_GET['debugjfb'])){ echo "\n".'wp_remote_get and curl failed to get the api response. either the pageid or albumid is wrong or your server is blocking all remote connection functions!'; } return $data; }
Thanks for looking into this. It is a paid theme and he is not being very helpful. He replied with this:
SQUARED is a theme that loads content via AJAX. For this reason, plugins that generate additional JS or additional content through JS on the page they run, won’t work – the theme only loads the content area from that page.
Does this make sense to you? I don’t understand how if this is the case then how come all my other lightbox and twitter plug-ins that rely on javascript still work?
Thanks for taking a look. I contacted the theme support and they recommended hiring a developer. I found another support ticket like mine to which they replied: Unfortunately, the /#/ cannot be removed, it’s an AJAX theme and that /#/ is part of core functionality.
Is it possible to verify whether it is this hashtag in the URL that is causing the javascript not to load, or whether it is definitely the theme’s javascript overriding?
Thanks,
Joe
Main page: https://youronlinefriend.com/ffwebsite
Main page with contact page loaded: https://youronlinefriend.com/ffwebsite/#/ffwebsite/contact/
Thanks,
Joe