I have the same error occurring since updating the plugin. All other social networks connected.
Hello!
I’m not sure what the problem is.
If anyone can debug this, the plugin tries to make an HTTP GET request to the following API endpoint, which in this case is returning the 400 error:
https://graph.facebook.com/fql?q=SELECT%20url,%20share_count,%20like_count,%20comment_count,%20total_count,%20click_count%20FROM%20link_stat%20where%20url=%27http://www.ww.wp.xz.cn%27
If anyone is able to execute that request on their WordPress server, then post the full response here with the 400 error, that will help me to debug this as I am unable to re-create it myself.
I have also this problem.
Experiencing the same issue. I’d love to help, but I’m not sure how to execute the request on our server.
hey ben!
I created a debug page using php file_get_contents…
The results can be found here: http://www.rap-up.com/debugger/
Hope this helps?
Just started getting this issue as well – Anyone know what is going on?
Kameron,
The results on that debug page look correct and show that the request is working. Can you modify that debug page and put in one of your post URLs instead of http://www.ww.wp.xz.cn which is being used at the moment? There must be a problem with the syntax of the request that the plugin is generating with the post URLs somehow.
I have now been able to re-create the issue, so I am now working on figuring out the problem. Will post an update shortly.
Okay, I’ve released 1.4.5 which resolves the issue *just for now* until April 30, 2015.
Turns out Facebook has changed their API and it looks like they are going to eventually require authentication in order to collect data from their API. What that means is that site owners will most likely have to log in to Facebook / grant access to this plugin before stats can be collected. That’s a bit annoying because I like it when the plugin just works out of the box with minimal setup, but I’ll see what I can come up with.
For now, with 1.4.5, I switched the Facebook API back to their old version 1.0 which is going to be removed on April 30, 2015. So look for a new update before then to update the Facebook API once more….
Well with this updatre i get:
[body] => {“error”:{“message”:”(#4) Application request limit reached”,”type”:”OAuthException”,”code”:4}}
: 403 Forbidden
Aha, now here is another issue that needs to be resolved.
Facebook limits the number of requests to their API per hour/day (not sure what the limit is, they use a fancy formula) and it looks like your server has hit the limit. It will just automatically work again after a while (maybe tomorrow).
In the future, this plugin will need to have a way to keep track of the request limits for each social network in order to slow down / ration updates in order to not go over the limit. It’s on my to-do list, but I’m not sure when I’ll have time to get to it.
If you click the “Manually check again right now” button when there are connectivity problems, the plugin will try to check for stats for ww.wp.xz.cn so that’s why it’s showing up as a failed request.