jan, Dutch
@jan@mastodon.nl avatar

Who knows what's wrong here?

I have installed the WordPress ActivityPub plugin, everything seems configured correctly (see screenshots), followers show up etc.

However the posts do NOT show up in my Mastodon timeline? The feed is empty (I configured it yesterday show at least 2 posts should be here).

I also see POST calls going out in my Apache logs (with a 202 Accepted).

cc: @pfefferle

Screenshot of empty profile.
Screenshot of plugin configuration.

seindal,
@seindal@mastodon.social avatar

@jan @pfefferle you need to make new posts. The plugin doesn't push the old ones.

My Dutch is nonexistent but it appears the latest post on your blog is from December 9th.

pfefferle,
@pfefferle@mastodon.social avatar

@seindal @jan oh thanks rene, thats true!

and having a closer look at the console trace screenshot: these are all incoming requests!

seindal,
@seindal@mastodon.social avatar

@pfefferle @jan Hi Matthias, since you're here. I use the plugin on self-hosted WP (@info), and had comment moderation activated. That lost me some interactions that never showed up on the blog.

I think someone replied to the not yet approved comment in the instance where it was made, but since the comment wasn't on the blog yet, that reply got lost.

It was on an earlier version, though. Might have solved.

pfefferle,
@pfefferle@mastodon.social avatar

@seindal @jan @info oh, good point! I will have some checks if this is (still) an issue.

jan,
@jan@mastodon.nl avatar

@seindal @pfefferle I post every day! :) The latest post is of this morning (see dates under the posts).

I installed the plugin Wednesday (and posted yesterday and today):

https://janvandenberg.blog/2023/12/

seindal,
@seindal@mastodon.social avatar

@jan @pfefferle I suspect this has something to do with Mastodon caching, though @pfefferle will know more about this than I do.

When you post on your instance your post is pushed to the instances where you have followers. Those instances cache the post, so they can display it to their users. Your post doesn't go to any instance where there are no followers. It might end on such an instance through intermediaries, because people who follow you share or reply, and they have followers elsewhere.

seindal,
@seindal@mastodon.social avatar

@jan @pfefferle The short story is that your post won't go anywhere unless you have followers on other instances.

Create and account on the 3-4 largest instances, folulow your blog, and re-toot your posts from those accounts. Use the relevant a.gup.pe groups to get them seen and shared.

You need to bootstrap your presence. It won't happen by itself.

seindal,
@seindal@mastodon.social avatar
pfefferle,
@pfefferle@mastodon.social avatar

@seindal @jan @-mentions are already supported!

seindal,
@seindal@mastodon.social avatar

@pfefferle @jan In the template?

pfefferle,
@pfefferle@mastodon.social avatar

@seindal @jan no, but you could add that to every post using a filter

seindal,
@seindal@mastodon.social avatar

@pfefferle Hi, I tried to make a quick activitypub_extract_mentions filter which just added myself to the list and returned it, like:

$mentions@rene@mastodon.social'] = 'https://mastodon.social/users/rene';
return $mentions;

It wasn't enough. Does there have to be a HTML link in the text of the toot too?

linos,
@linos@graz.social avatar

@jan @pfefferle Can Mastodon fetch a WordPress post directly? Try copy-pasting the WordPress posts Permalink in the Mastodon search field.

pfefferle,
@pfefferle@mastodon.social avatar

@linos @jan it can't, thats why I asked :)

but it works in my API test tool.

pfefferle,
@pfefferle@mastodon.social avatar

@jan do you have a firewall or something similar installed? Or do you use mod_sec?

jan,
@jan@mastodon.nl avatar

@pfefferle I do not have mod_sec, I run my own VPS (port 80 and 443 are open).

pfefferle,
@pfefferle@mastodon.social avatar

@jan can you try to post one of your post-urls into the Mastodon search field and check if you see the GET request in your logs?

pfefferle,
@pfefferle@mastodon.social avatar

@jan I see the problem. You enabled authors and the blog user. In this case, the posts will be published under the Author User and the Blog User "only" boosts that post. But in your case, the Author pages are not Accessible.

To only post as Blog-Author, you need to disable the Author Profiles in the settings!

jan,
@jan@mastodon.nl avatar

@pfefferle Aah like so?

pfefferle,
@pfefferle@mastodon.social avatar

@jan exactly!

I have to see how I can change the settings to make it a bit easier to understand!

jan,
@jan@mastodon.nl avatar

@pfefferle I will try this and report back tomorrow!

pfefferle,
@pfefferle@mastodon.social avatar
trektor,
@trektor@mastodon.nl avatar

@jan @pfefferle hebbie development aanstaan en je accesstoken goed ingevoerderd?

jan,
@jan@mastodon.nl avatar

@trektor @pfefferle waar moet ik mijn accesstoken invoeren?

pfefferle,
@pfefferle@mastodon.social avatar

@jan @trektor you do not need an access token. ActivityPub does not crosspost articles using the Mastodon API!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • wordpress
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines