Skip to content

Unable to follow profiles with wordpress activitypub profile #1115

Closed
@IAmDarthMole

Description

Quick summary

When I select "Follow" on a profile either using mas.to or mastodon.social (not logged in to either), it says I'm not logged in and to enter the domain of my server. When I enter and select madmolelabs.com it redirects me but then gives me the 404 error page. I'm not 100% sure but I'm thinking I should be able to "Follow" accounts/profiles/channels with my wordpress profile?

The same response and behavior happens if I select the "Boost" option.

However, when I use the "reply to" bookmark provided by the ActivityPub settings (and site tools) the reply appears on my wordpress and in the comments of the correct post. So the reply functionality seems to work.

I'm able to find my wordpress profile via mas.to and mastodon.social and the following code is in my webfinger file.

The same behavior is also showing through the Friends plugin and page.

{
    "subject": "TheMadMole@madmolelabs.com",
    "aliases": [
        "https://madmolelabs.com/?author=1"
    ],
    "links": [
        {
            "rel": "self",
            "type": "application/activity+json",
            "href": "https://madmolelabs.com/?author=1"
        },
        {
            "rel": "http://webfinger.net/rel/profile-page",
            "type": "text/html",
            "href": "https://madmolelabs.com/?author=1"
        }
    ]
}

Earlier the code was the following and I was having the same problem.

{
    "subject": "TheMadMole@madmolelabs.com",
    "aliases": [
        "https://madmolelabs.com/author/TheMadMole/"
    ],
    "links": [
        {
            "rel": "self",
            "type": "application/activity+json",
            "href": "https://madmolelabs.com/?author=1"
        },
        {
            "rel": "http://webfinger.net/rel/profile-page",
            "type": "text/html",
            "href": "https://madmolelabs.com/?author=1"
        }
    ]
}

The environment
Wordpress Version 6.7.1
ActivityPub Version 4.6.0
Security Optimizer Version 1.5.7
Speed Optimizer Version 7.7.2
WebFinger Version 3.2.7
SiteGround.com for hosting

Thank you very much!

Steps to reproduce

To Follow:

  1. Go to mas.to or mastodon.social
  2. Search for a profile that you aren't following.
  3. Select the "Follow" option
  4. Enter madmolelabs.com and hit enter.

To Boost:

  1. Go to mas.to or mastodon.social
  2. Search for a post.
  3. Select the "Boost" option
  4. Enter madmolelabs.com and hit enter.

What you expected to happen

To Follow:

I would assume it would reload the correct page in my site and show that I've followed the account in question.

To Boost:

Would reload me into a "create post" page with all the information filled out so I can hit save and publish. This would add the boost/repost to my wordpress and then increase the "boost" count on the post in question wherever it was posted (mas.to or mastodon.social).

What actually happened

Reloads a 404 page on my wordpress installation.

Impact

All

Available workarounds?

No and the platform is unusable

Logs or notes

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions