fabrixxm

@fabrixxm@social.gl-como.it

Este perfil es de un servidor federado y podría estar incompleto. Explorar más contenido en la instancia original.

fabrixxm, a developers en

I was playing with my "FediBadge" generator I created some time ago

I noticed that it doesn't show Person avatar of People from Friendica.
The thing uses webfinger to find the ActivitiyStream json representation of the acct from the user, and it get it's data from there.
Now I noticed that "icon" and 'image' properties are missing when I request a user profile with 'Accept:application/activity+json" from Friendica.

I looked at code and I found there:
github.com/friendica/friendica…

that 'icon' and 'image' and other profile proprties are behind $full flag, that for what I understand, is true if request is http-signed and from a 'live' contact of the profile.
(so, false for any anonymous get)

Why?

If the profile is public, that data is present on the html version of the profile.

This break my code, which is unfortunate, but also looks like it has the consequence that on mastodon (and others I think), when searching for a profile that is not already cached locally, ther

fabrixxm,

@heluecht
no, the point was to work for every AS implementation, using standard AS.
But ok, it's only a toy, it's not important.

Still all data is available, in machine-parsable format, in html rendering, as hCard microformat. If anyone want to scrape my public avatar from my public profile, they can do it anyway.

  • Todo
  • Suscrito
  • Moderado
  • Favoritos
  • random
  • noticiascr
  • CostaRica
  • Todos las revistas