New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIO and Avatar #211
Comments
|
The plugin uses the author description as bio and the gravatar as avatar. |
|
Oh ok... mine are still empty... I might have to wait some more. |
|
Waited 6 hours or so... still no avatar and bio from Wordpress activatypub... any hints? |
|
@marc0janssen Mastodon has quite aggressive caching, and could keep this version for a long time, however Publishing a post to your Mastodon followers, should make the server re-fetch the WP profile. |
|
Thank. I tested this. But no result yet. Also hashtags are no coming through. |
|
The BIO text is updated. SO this seems to work. Hashtages and avatar are not coming through. Do you have a hint or so? |
|
I wonder if it's because of the ports, if you lookup your webfinger you will see Edit: I just looked your profile up from a different instance, and your avatar came through. But the posts are not fetchable at the moment. |
|
This is the output. `Request Log 21:09:38 Looking up WebFinger data for acct:marco@theattic.mjanssen.nl { |
|
When I tried fetching the profile |
|
OK. What could the problem?If I search for the account via mastodon.social the don't get avatar but I get a updated bioIf I search for the account via mstn.social I do get bio and avatar as aspectedIf I search via systems.discuss I get nothing. Seems mastodon server dependant. Verstuurd vanaf mijn iPhoneOp 13 dec. 2022 om 05:11 heeft Django ***@***.***> het volgende geschreven:
When I tried fetching the profile https://theattic.mjanssen.nl:443/author/marco/ (with ap accept headers) it was returning html and not json
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
Hi Django, Found out the following Mastodon.social has a agressive caching (I guess). my activity pub data from Wordpress (avatar that is, bio is fine) is not updated. When I check it on mstdn.social/mastadon.nl/systems.discuss (and I think any other server) the data is just fine. everything is fetched and updated. I don't know if you know micro.blog? They have activitypub also activated for their site. On mastodon.social their data is also not coming through. On mstdn.social/mastadon.nl/systems.discuss (and I think any other server) their data is coming through. I guess this is a mastodon.social problem. My activitypub-plugin in wordpress sometimes just seems to stop working (I noticed this in sitehealth in tools). I get a critical error. There is nothing to be done at that point to fix it (for me). What I do is kill and clear my docker containers. Run docker compose to get containers all up and running again. Install my backup-plugin by hand. Restore the last backup from last night. And all is just fine.... I have no idea what causes this. I only know how to get this work around working. This not pretty and nice, but it works for the time being. Maybe you can point out some stuff I can look at when the problem is occurring , before I restore the backup again, |
|
Error again: Author URL is not accessible Gets annoying now. |
|
When I only restore all the plugins from the backup, all the problems are gone again... Is the activity pub plugin corrupting itself ??? |
|
It looks like you are using WP Fast Cache plugin. Caching plugins are known to interfere with the activitypub plugin! |
|
(Marco runs to kill that plugin) |
|
(how could you tell?) |
|
I still had an article page fetched in Postman, looking at the source, I noticed: |
|
Colombo you are.... I will check the next few day if it stays stable.... (thanks for all the help) |
|
It seems favicon.ico is stored. Is this expected? |
|
Is this still an issue? |
|
Yes, avatar never gets updated….
… Op 2 feb. 2023, om 08:46 heeft Matthias Pfefferle ***@***.***> het volgende geschreven:
Is this still an issue?
—
Reply to this email directly, view it on GitHub <#211 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABMFKPH2BAU3DULRN3N3BIDWVNQ7BANCNFSM6AAAAAASW26DE4>.
You are receiving this because you were mentioned.
|
|
Is this still an issue? |
|
Yes. But close it. I don't mind anymore. Verstuurd vanaf mijn iPhoneOp 22 mei 2023 om 07:41 heeft Matthias Pfefferle ***@***.***> het volgende geschreven:
Is this still an issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
Hi Sorry,
For replying so late (I was in de US for a few days).
It’s seems fine, I did not care to check anymore. But now it works!
Thanks for your head up!
Marco
… Op 22 mei 2023, om 15:34 heeft Matthias Pfefferle ***@***.***> het volgende geschreven:
What platform do you use? Mastodon.social, seems to use the correct image:
<https://user-images.githubusercontent.com/2373/239924421-5d0f4816-85c1-4121-8fca-8b66b3c4dbd1.png>
—
Reply to this email directly, view it on GitHub <#211 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABMFKPAAV7DVFPMWD2Y7YQTXHNTQHANCNFSM6AAAAAASW26DE4>.
You are receiving this because you were mentioned.
|
|
I'm still having issues with my avatar refresh. I did set an avatar initially, and it transferred to my fediverse profile just fine. However, I've since changed my avatar on WordPress (I wanted to distinguish it from my Mastodon account), but I'm still not seeing the change in my profile on the fediverse. This is my WordPress handle: @yourautisticlife@www.yourautisticlife.com I've checked it both from my own instance: mast.yourautisticlife.com Not sure if I should open a new issue... |
|
Mastodon caches the avatar and there is no possibility to invalidate that cache. Have you posted a new blog-post since then? I may have heard that mastodon updates the cache when there is new activity. |
|
Yes, yes, yes. I've posted a ton of posts. I thought about the cache. |
|
If you are running your own Mastodon server you can force an account refresh with the following command.
If you don’t have such access there is nothing more you can do but wait until the server refreshes the account at a certain interval. |
|
@camielschoonens Doing the |
|
Actually... I'm baffled now because what This is a screenshot of my profile seen from This screenshot is from The text of my profile was set ages ago. I changed the avatar a few weeks ago. This is all extremely confusing. |
|
do you have any caching plugins on your own website? |
|
@mediaformat No caching plugins. The problem is still present as of 1.0.0:
|
|
I am no mastodon expert, but the cache might be configurable by the network admin?!? |
|
To anyone struggling here, I've found a solution, probably will make a pull request for it. My thought was that other instances didn't update their profile picture cache because when changing the profile picture on WordPress (which means, changing it on Gravatar), the URL of the picture stays the same. I don't know if this is standard or not, but in practice instances usually won't try to check if the content that a media URL points to has changed from time to time, but only refresh the media if the URL changes too. So, my solution is to simply make the ActivityPub plugin append something to the URL that doesn't break it, but makes it change. What I did is edit |
As complained in Automattic#211, when a user updates their Gravatar profile picture, the change fails to be reflected on many ActivityPub instances that already know the user. This is usually because, when changing the Gravatar image, since the URL remains the same, instances won't try to redownload the data, and thus their media cache isn't updated. From my testing, simply adding a changing dummy parameter to the URL hash returned in the user's JSON is a change that is noticed by other instances, that will try to redownload the image from Gravatar (my experience is minutes for Misskey, and ~1 day for Mastodon). A decent solution to this problem is thus to add the current day string to the URL hash ($icon as returned by get_icon() as 'url'), in the format Ymd, which will result in the URL changing every day, which should be enough for any user, while at the same time avoiding overloading instances which try to do frequent refreshes. (See Automattic#211 (comment))
|
I should mention that I'm no longer experiencing this problem. I've been wondering if WordPress needs some sort of profile edit to flush the information out, but I've never tested the idea. (Before someone points out that it is obvious that a profile edit is needed, no it is not. Changing the Gravatar will change the profile picture shown in WordPress, but it won't automatically propagate to the fediverse.) |
|
Hm, just thinking out loud here, but Is there a way to modify the timestamp idea to the date/time the avatar has changed? Or maybe add that cachbusting parameter with the first 8 digits of the md5 hash of the actual image? |
|
Version 2.0.0 has an update |




Hi There,
Question: Sinds this a beta software, are the BIO en AVATAR "sync" not just implemented?
I don't see a BIO and the avatar is empty when looking up the account on mastodon.
The text was updated successfully, but these errors were encountered: