Skip to content

Facebook button isn't working #21

@lawrencek1992

Description

@lawrencek1992

I'm using the Facebook, Twitter, Email, Reddit, and Pinterest buttons in my react app. All of them are working great, granted I don't have accounts on most of them, but they redirect to a log in page as anticipated.

The Facebook button redirects to a page that says "href should represent a valid URL." You can't log in to Facebook from there or anything. I took a look at the Facebook.js file, and the issue isn't apparent to me. The url it redirects to is, as far as I'm aware, the correct sharing url for Fb. I was a little bit confused by how the encodeURIComponent part works, so maybe there's an issue there, but I wasn't able to figure it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions