I have encountered a GraphAPIError: (#500) Message contains banned content problem today when I use GRAPH API (via python) to POST URLs (even post http://www.google.com failed, but if I post it directly through my facebook page, it works)as comments. It used to working correctly.
Does anyone encounter the same problem or know how to solve that?
Thank you.
For anyone else having this issue - seems that if an FB user who is NOT validated with FB (hasn't given FB their cell phone etc) comments on some posts, they can get a 500 error. Once validated the error doesn't happen
Related
Few of our websites like womens-health.com.my, mens-health.com.my, and elle.my having problem post any article to Facebook. When I test any URLs of these websites in Facebook Debugger, it gave me warning messages said that Failed to get composer template data. and Critical Errors That Must Be Fixed. I have no idea what causing this as other of our websites are working fine.
It's an actual Facebook bug, which is being fixed right now: https://developers.facebook.com/bugs/918385908182634/
In summary, you can fix this by making sure that article:author only contains Facebook user IDs or Facebook profile URLs.
I'm using Facebook UI Send Dialog so the users of my website can share a link with their friends. The link includes the Facebook User ID in the query string. Everything works fine except for a few users that have reported errors.
To test this, I considered to cases: one for a Facebook user that can use the Send Dialog without a problem, and another for a user that reported the error. I used two identical calls to Fb, only changing the userID and, as described previously, one worked and the other didn't.
This works ok:
https:// www.facebook.com/dialog/send?access_token=XXXXXX&app_id=XXXXXX&channel=https%3A%2F%2Fs-static.ak.facebook.com%2Fconnect%2Fxd_arbiter%2FZEbdHPQfV3x.js%3Fversion%3D41%23cb%3Df1adbecbf8%26domain%3D3Dmyworkingurl.com%26origin%3Dhttps%253A%252F%252F3Dmyworkingurl.com%252Ff524fe64%26relation%3Dparent.parent&channel_url=https%3A%2F%2Fs-static.ak.facebook.com%2Fconnect%2Fxd_arbiter%2FZEbdHPQfV3x.js%3Fversion%3D41%23cb%3Df2c646879%26domain%3D3Dmyworkingurl.com%26origin%3Dhttps%253A%252F%252F3Dmyworkingurl.com%252Ff524fe64%26relation%3Dparent.parent&description=pruebafb&display=iframe&e2e=%7B%7D&link=https%3A%2F%2F3Dmyworkingurl.com%2F%3Ffbid%3D**WorkingFbUserId**&locale=es_LA&next=https%3A%2F%2Fs-static.ak.facebook.com%2Fconnect%2Fxd_arbiter%2FZEbdHPQfV3x.js%3Fversion%3D41%23cb%3Df206f6e03%26domain%3D3Dmyworkingurl.com%26origin%3Dhttps%253A%252F%252F3Dmyworkingurl.com%252Ff524fe64%26relation%3Dparent%26frame%3Df34cf0b14%26result%3D%2522xxRESULTTOKENxx%2522&sdk=joey&to=XXXXXXXXX
This returns a HTTP Error 500:
https:// www.facebook.com/dialog/send?access_token=XXXXXX&app_id=XXXXXX&channel=https%3A%2F%2Fs-static.ak.facebook.com%2Fconnect%2Fxd_arbiter%2FZEbdHPQfV3x.js%3Fversion%3D41%23cb%3Df17fb992a8%26domain%3Dmyworkingurl.com%26origin%3Dhttps%253A%252F%252F3Dmyworkingurl.com%252Ff271eb6f14%26relation%3Dparent.parent&channel_url=https%3A%2F%2Fs-static.ak.facebook.com%2Fconnect%2Fxd_arbiter%2FZEbdHPQfV3x.js%3Fversion%3D41%23cb%3Df28b526904%26domain%3D3Dmyworkingurl.com%26origin%3Dhttps%253A%252F%252F3Dmyworkingurl.com%252Ff271eb6f14%26relation%3Dparent.parent&description=pruebafb&display=iframe&e2e=%7B%7D&link=https%3A%2F%2F3Dmyworkingurl.com%2F%3Ffbid%3D**NotWorkingFbUserId**&locale=es_LA&next=https%3A%2F%2Fs-static.ak.facebook.com%2Fconnect%2Fxd_arbiter%2FZEbdHPQfV3x.js%3Fversion%3D41%23cb%3Df184d49ae%26domain%3D3Dmyworkingurl.com%26origin%3Dhttps%253A%252F%252F3Dmyworkingurl.com%252Ff271eb6f14%26relation%3Dparent%26frame%3Df567db08%26result%3D%2522xxRESULTTOKENxx%2522&sdk=joey&to=XXXXXXXXX
I tested the link urls using https://developers.facebook.com/tools/debug/ and both returned Response code 200.
Do you have an idea on why is this happening only for some users even when they return a successful response using the Facebook debugger?
Thanks :)
Most probably you are suffering from this bug: https://developers.facebook.com/bugs/1478339672437492/
The bug was already seen by Facebook Team and it is already assigned to someone to solve. I know this because unfortunately it affected me too.
As this is affecting a lot of developers, I guess it won't take too long to be fixed.
To be in record for future Google searches, this was the bug:
Since this morning the FB Send Dialog redirects to an empty page
regardless of the parameters. Even the example from the documentation
(
FB.ui({ method: 'send', link:
'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
});
http://www.facebook.com/dialog/send? app_id=123050457758183
&link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html
&redirect_uri=https://www.bancsabadell.com/cs/Satellite/SabAtl/
)
is not working anymore. Please see into this, thank you very much.
Last known working date: September 22, 2014
According to Facebook it should now be solved:
Øyvind Sean Kinsey · · Facebook Platform Team
This should now be resolved. Thanks for your
patience.
2 hours ago · Status changed to Fixed
I have this forum running on phpBB3 forum software. It is working fine by itself. But when I try to add a forum post link on facebook, it does not show preview of the page. When I tried this with facebook debugger (https://developers.facebook.com/tools/debug/), it shows me RNF error (HTTP 404) for my post because it does not append required parameters to the URL.
This is what I see on the facebook debugger page -
Scrape Information
Response Code 404
Fetched URL http://mysite.tld/forums/viewtopic.php?f=9&t=25
Canonical URL http://mysite.tld/forums/viewtopic.php?f=9&t=25
Final URL http://mysite.tld/forums/viewtopic.php
Is there a way to tell facebook to consider the query parameters of the URL as well?
I did try adding og:XXX tags in the header but it didn't help in any way and I continue to see 404 errors in facebook debugger.
I do not think adding tags is a problem because I tried this URL in facebook debugger and it could feth the title and all other details correctly for this URL.
https://www.phpbb.com/community/viewtopic.php?f=72&t=2120397
And I see that these forums do not have any face og:XXX tags here.
What might be causing problem for my forums and how can I fix it?
Any pointers, inputs would be highly appreciated!
TIA,
- Manish
I have already searched the questions here, and didn't find any pointer. I have already done my homework regarding facebook debugger and link preview, so not sure why it has been voted down.
I have figured it out. As it turned out - the bots didn't have the cookie set and hence were getting HTTP 404 response (a possible bug in custom style: fresco). Once I realized that this problem was due to cookies, I edited all the bots (ACP >> General >> Spiders/Robots) to use default phpBB style prosilver. Once that was fixed, facebook started showing link previews properly!
If i like a page on my website. It is posted to facebook. The problem is when a second user clicks the like on facebook. They are taken to a 403 forbidden page.
likes on http://www.cmypictures.com/photos/index.html
result to
http://www.cmypictures.com/photos/index.html?fb_action_ids=10151367960904866&fb_action_types=og.likes&fb_source=timeline_og&action_object_map=%7B%2210151367960904866%22%3A10150286116634264%7D&action_type_map=%7B%2210151367960904866%22%3A%22og.likes%22%7D&action_ref_map=%5B%5D
i have noted that if i manually delete %3A"og.likes"%7D&action_ref_map=%5B%5D at the end of the link, the desired page is opened.
Why is facebook adding this code at the end and what can be done to avoid this? Just to mention I run my website on joomla.
Please help
Facebook adds this for referral purposes so you can see the data in /analytics. As mentioned by #igy you need to check your CMS as it is not handling the params properly.
I had the same issue, I contacted my hosting provider and submitted a ticket, I have no idea what they did to fix this but it was sorted out pretty quickly. Something in the link may have been blacklisted or some combination of the '.' and the lenght of the link might have caused the issue. Contact your hosting provider for a solution.
I've been having issues recently with setting up links between Facebook and a website I've developed - www.newcarpromotions.co.uk. After some digging around, and advise on this forum, Ive used the following link to see what Facebook thinks of my domain:-
http://developers.facebook.com/tools/debug/og/object?q=newcarpromotions.co.uk
What it returns is as follows:-
"Error Parsing URL Error parsing input URL, no data was scraped"
Now Ive tried all my other domains which return all the correct information as you would expect.
Has anyone seen this before? It looks like Facebook doesn't think my domain exists! If that's the case any idea how I can get this resolved?
Nick
According to this post (Linter gives "Error parsing URL" error) it seems that the facebook object debugger can return that error if it fails to parse your page somehow. I'm suggesting that facebook can get to your website but is failing for a different reason. You may want to look at your request logs to verify that facebook is hitting your site.
If worse comes to worse you can open a bug here: http://bugs.developers.facebook.net/