Firebase Hosting copy and paste dynamic url not working - firebase

I'm stuck on where to search / what to search for regarding this issue, so I'm looking for some help.
I have a site that has user-generated posts with uid's. When someone navigates through the site, everything works totally fine, but when the url is copied and pasted into a new tab, I get a blank screen and a tab that won't load.
My routes go from "/" to
<Route path="/listings" element={<ListingsPage />} />
then to
<Route path="/listings/:id" element={<ListingDetailPage />} />
once the post is clicked on.
I'm not sure if this is a routing issue, or a dynamic link issue, or some type of issue that can be fixed with SSR / cloud functions.
Any help would be greatly appreciated. I know Firebase's open source cloud function github example is about 4 years old now, wondering if that's still applicable.

Related

Remove/delete Firebase dynamic links

I have created the dynamic links using Firebase console. But there are no option to remove or delete or edit options.
I want to delete dynamic links from the console. Any help appreciate.
This is not possible.
Deleting links would be a problem since that could lead to broken data and user experiences. At Branch.io (full disclosure: I'm on the Branch team), we don't allow link deletion either (you can 'Archive' the link to get it off the screen, but that does not make the URL inactive).
Firebase probably prevents editing for the same reason. At Branch, we do allow editing of everything except the link URL (since that would be effectively deleting the link).
Google just added the edit and archive feature. You can check that out in the Firebase console
You can only archive the link but the link will still work, but it will no longer be displayed on the Firebase console.
If you desperately wanted to delete it, what you can do is delete the URL prefix and associated links; all dynamic links and analytics associated with that domain are permanently deleted.

Website not posting to Facebook: security & app id issues

I'm a new WordPress designer. My site runs Tesseract Theme and is built with Beaver Builder.
PROBLEM: When I post my website (https://louiseclark.tech) on Facebook it removed my site after a couple minutes. Now when I try to post my site it gives me this message--> It looks like a link you're sharing might be unsafe. If you can, please remove this link: louiseclark.tech Note: The unsafe link might be on the page you’re linking to.
What I've done to try and resolve:
When I ran my site through the Facebook debugger I got this message:
The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.
I created an app id following this instructional video: https://www.youtube.com/watch?v=V97h03H21y0
I pasted my app id into my Yoast SEO plugin under the Facebook category.
Check my Google Webmaster Tools Sitemap...all is verified and sitemap set.
SSL certificate is set - checked with my hosting company SiteGround. When I asked them about this problem they didn't really feel that the security issues where from their side.
I've reported this problem to the black hole that is Facebook support.
Thank you for any insight.
In case anyone sees this thread, I found the solution.
When I moved my WordPress sites to managed WordPress hosting I also migrated my websites to https with the SSL certificates. While the pages were migrated and displaying the https just fine, the images still held their old url (http).
I did two things:
I installed SSL Content Fixer plugin. This worked for some images but not others.
I installed Better Search Replace plugin. I had found the specific insecure images using Firefox. From my page in Firefox, I went to:
Tools -> Page Info -> Media This showed me every image/js/css call on this page. Finding these images allowed me to use the plugin to make the changes.
It worked. I'm quite sure knowing how to code my site would be much better in this situation. But I'm a newbie and this is what I could come up with.
What I learned: It's a flag when you have a secure site that embeds non secure objects/images.

Remove element from Wordpress plugin

I am currently using a social media login plugin for my website that allows users to login via their social media account.
Currently the flow of the plugin works in a way such that after ANY user authenticate themselves through Facebook, they will be brought back to my site with 2 options, link their Facebook account with their site's account, or to register an account.
How can I edit my code such that I am able to remove the "registration account" part without editing the plugin code directly as this might affect future updates of the plugin itself. One way that I know will definitely work is to comment that section away in the plugins itself but I do not wish to touch the plugin code.
After researching, a possible way that I think might work is to apply a filter that removes the element but I am not sure if that is the correct workaround for this situation.
Can anyone shed some light on this matter?
Thank you!
I don't see a way to filter executed php code on your Wordpress website.
I got two ways of dealing with this:
1: Disallow people to register an account on your site. The registration link will probably not be displayed anymore.
2: Or comment out the code within the plugin. Remember where you edited the lines. Whenever the plugin gets an update, comment out those lines again. Or contact the owner of the plugin to issue a feature request.

404 page showing phishing. how to fix it?

I am using wordpress and I needed a application which is made with codeigniter.
I was useing facebook sdk 4 to let my user login but after few day it got phishing by google chrome. Then I delete the application, now it's 404 page.... I request a review in google but no help.
my only one directory got effected by phishing where the application was located else everything is fine. I have talked with google forum but they are all idiots saying i have problem in my 404 page. if the problem in 404 page then my hole site would effected not one directory. I am using popup add from www.popads.net
I think popup is not the problem can i am useing popup in my full site....
http://www.ogx1.com/addme
this link will show 404 but if you add a / it will show phishing... i have no idea what is wrong
http://www.ogx1.com/addme/
guys need help if you can suggest me with any thing....
and can you tell me how many day google take to remove the flag??
thanks :)
It's very likely that the user activity in that page have caused it to be blocked. If users post links to pishing websites, your website will be blocked as well.
If your pages had comments or posts, use CodeIgniter's XSS Clean or any equivalent WP function to prevent malicious code/URLs from being posted by users/bots.
I'm not sure if google will ever unlock the page, so you should consider renaming the "addme" page.
Regards.

Wordpress preview issue with facebook

I just want to start of by saying that I'm a complete noob when it comes to programing, and don't have a lot of experience with HTML or CSS. I know this place is a bit more advanced and geared mainly for programmers and developers, but the only reason I come here is because I couldn't find an answer in any of the other forums. I don't know if I can solve my problem by editing the CSS file in wordpress, but I'm hoping that some of you can chime in and let me know. The problem I have in a nutshell is that when I post a link of my blog to facebook, facebook doesn't generate the correct data or show any image preview. Here's the post I submitted at the wordpress forum:
I just got a new website, and setup a new wordpress blog on their server. It took a while, but everything is up and running for the most part. I am however, having a really hard time getting any of my post preview to show up when linking to facebook. My website is http://www.limonphotography.com/blog. When I run the same link through facebook's debugger, I get the following error sometimes:
Could Not Follow Redirect Path: Using data from .http://www.limonphotography.com/blog/ because there was an error following the redirect path.
Circular Redirect Path: Circular redirect path detected (see 'Redirect Path' section for details).
Could Not Follow Redirect: URL requested a HTTP redirect, but it could not be followed.
My wordpress URL is :http://limonphotography.com/blog but I made the site URL pointing to :http://www.limonphotography.com/blog since it's easier. Original blog is hosted with the site I have my hosting with, so the original WordPress is at http://mukul12031.c4.cmdwebsites.com/blog. Can anyone tell me why I am getting these errors, or why the preview is not showing up?
Again, I apologize if this is too simple of a questions, but I just can't figure it out on my own. If anyone can help me, I would be very grateful. Thanks a lot.
My advice would be to try appending a trailing slash to your og:url tag (example: "http://mysite.com/"). Sounds stupid, I know, but it's worked for some
Another thread on this issue has yielded the following information, courtesy of Lizzbizz on this Wordpress Support thread:
"From what I can tell, this turned out to be a problem with GoDaddy
hosting services. They were applying a 302 Redirect Filter to the
server that was hosting my domain and it caused the problems. After I
emailed them a few times they finally fixed it. Try googling "GoDaddy
302 Redirect Problem" and you will see lots of other posts!
If you are not getting the 302 problem, but just have trouble getting
the image or description to appear when you share a link on Facebook,
you can use one of the WP plugins for Open Graph data like Simple
Facebook Connect or Facebook Open Graph Meta in WordPress and that
should fix it!"

Resources