Facebook is Fetching Weird URL of my laravel based website - facebook

I am having this link:
http://www.myqourse.com/offer/557/en/Certificate+Business+Professional+-+CBP+Leading+through+change
when I post it on WhatsApp, the link renders perfectly. However, Facebook tries to fetch http://www.myqourse.com/www.myqourse.com/offer/557/en/Certificate+Business+Professional+-+CBP+Leading+through+change
Any thoughts why is this is happening?

Solved it! I had a pretender.io middleware, that, was not compatible to my new htaccess. I updated the htaccess and removed pretender.io and forgot to do that to my middleware!

Hi guys I appreciate your support.
While investigating the issue, i figured out that i used to use prerender.io before, though i removed the code from my project, it appears i forgot to upload updated Kernel.php (and remove prerender.io from global middleware), now things works perfectly!

Related

Joomla: post redirects to profile page or give 404 error

I know Joomla 1.6 is old, the site isn't mine.
The problem: after logging in as normal site user using a menu link, a redirect to a special info page should be performed. But, the post itself (apparently) redirects to the user's profile page, which is not desired.
When I try to call the post directly it's the same. If not logged in, 404 not found error pops up.
Any ideas?
Edit: the 404 says "Category not found". The post has the category "Uncategorised", like most of the other posts.
Using Joomla 3.8.10, and I recently hand the same problem. Log into Joomla, member sees 404 page. Clearing the Joomla cache solved the problem (at least for now). Thank you so much to Robert K. for posting his solution.
Update #1 -- Shree, good info. My primary purpose was to show that the solution of clearing the cache would still work for Joomla 3.8.10, which is many years newer that Joomla 1.6. Almost no one uses Joomla 1.6 anymore.
Update #2 - Clearing the Joomla cache was only a temporary solution, because the problem came back again. I had to disable the new Joomla extension of CJBlog, which I had just installed. And, then clearing Joomla cache cured my login-shows-404 problem.
Guess no one's interested in the answer, but I'll post it anyway.
The problem was the caching system (it used to work for like 15 min and break after that time). I deactivated it and everything works fine now.

Facebook like button redirection?

I tried to install Facebook Like Button (http://developers.facebook.com/docs/reference/plugins/like/) on my page but after I've put the code (HTML5 version) there is some strange redirect which change address of the page adding "_FB_f2af6423b6fd064xd_action=proxy_ready&data" to it?
Do you have any idea what may cause the problem?
I can install iframe version of like box but some time ago I received an information about similar problem while there was some toolbar installed in the web browser. String in url was different but result the same - error 404.
You can see the problem here: www.keeeper.voyagersblog.com/en/ and properly working page (without like button) here: www.bea.trvblog.com/en/ .
Thank you for help!
Best regards,
Bartek
The problem was that I have my own js EventListener called 'message' and it seems that facebook use the same name.
My event listener is fired by fb script and then my function makes redirect (params are not proper so it goes nowewhere).
When I changed listener name it's ok, it seems that it's fb bug.
Thank you anyway!

Facebook AS3 api log in box did work, a day later it does not

Yesterday I successfully got my flash project to log in with the facebook as3 api.
Today I tried using the application again, and now its not working. I didn't change any code... Does anyone know how I should approach debugging this or has this happened to anyone else?
Thanks
A friend created a solution for this issue. I fixed my flash sites and their facebook connect with AS3 SDK.
We're from Mexico so it's in spanish:
Facebook AS3 Fix
Traduction:
1.- If you're using GraphAPI_Web_1_8_1.swc, delete it.
2.- Download the modified api from Here
3.- Copy the folder in your libraries, if you already had the facebook folder, overwrite.
4.- Compile the project.
The problem happened because facebook modified its http://connect.facebook.net/en_US/all.js file in a way in which the FacebookJSBridge.as file from the as3 api made some calls to "FB.JSON". Now they should be made to "JSON" instead.
1.- If you are using GraphAPI_Web_1_8_1.swc delete it.
2.- Download the modified graph api from here
3.- Paste those folders on your librarys, if you had the facebook folder overwrite it.
4.- Publish your project.
This problem started when facebook changed its file connect.facebook.net/en_US/all.js in a way that all the calls made from the as3 file "FacebookJSBridge.as" must be changed from "FB.JSON" to just "JSON".
src: http://ederchrono.com/blog/2012/05/09/fixing-fb-graph-api-for-as3/
The facebook connect functionality on all flash sites made at work have also stopped working. When clicking on the facebook connect button nothing happens. And we’ve made no changes. Now everyone’s working frantically to find a solution.
I hope someone finds a solution soon. Facebook has posted no changes, though they should look into this. I bet tons a flash sites have just stopped working.

Facebook like box : ''Page could not be reached" Error

I created a fb like-box at https://developers.facebook.com/docs/reference/plugins/like-box/
But when I tried to like it, it gives the error as in the attached image. When I clicked on error link, it says The page at https://www.facebook.com/phonekade could not be reached.
This works fine with my other fb pages. So I can't understand what the problem is. Can anybody help me here? Thanks in advance.
Image:
You should run your page through the Object Debugger. It has some serious problems.
http://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fwww.facebook.com%2Fphonekade
What worked for me was to change website url in the facebook code to https instead of http. For some reason after I did that everything worked. Then I changed it back to http and it still worked!
To be clear, I made it:
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpagename....
I don't know what the cause it, but it works fine now. I didn't do a thing. May be fb needs time to get things done properly. I created this page yesterday and after a full day it works fine now. Thanks all who tried to help me.
Cheers,
Try this solution. It works fine for me.
<?php }
$url = 'https://developers.facebook.com/tools/debug/og/echo?q='. $_SERVER['PATH_INFO'] ;
$response = file_get_contents($url);
?>

Database Down error while posting a comment through comment box in facebook iframe application

I have an iframe application. I have comment box functionality. It is displayed well but the problem comes when i click on post iam getting this error:
Database Down
Sorry, a temporary error has occurred. Please try again.
How can i resolve this please help me on this?
It may be a facebook issue...give it a couple of hours and try again. More importantly make sure you are using the recent comment tags as can be found here
https://developers.facebook.com/docs/reference/plugins/comments/
Use the form to generate your code and try it out.
In my experience, this is likely due to not using the xid parameter. Check that it is there, and if not - adding it should solve your problem.