L.A.M.F. on Nostr: Hi, how can I read in Friendica the JSON Acccount information (display name, summary, ...
Hi, how can I read in Friendica the JSON Acccount information (display name, summary, ...)?
For Mastodon I can call
https://kaputtgart.social/api/v1/accounts/lookup?acct=<username>
Also the profile URL
https://mastodon.social/users/<username>
returns this JSON information.
When I call the same Friendica URL
https://friendica.instance/profile/<username>
I get a JSON response where some data is missing or is wrong. ie. the "name" field has the same value as the nickname and not the display name. and the "summary" is missing with the account description.
So how can I access from any Freindica Instance the account display name und summary description for a address in JSON?
For Mastodon I can call
https://kaputtgart.social/api/v1/accounts/lookup?acct=<username>
Also the profile URL
https://mastodon.social/users/<username>
returns this JSON information.
When I call the same Friendica URL
https://friendica.instance/profile/<username>
I get a JSON response where some data is missing or is wrong. ie. the "name" field has the same value as the nickname and not the display name. and the "summary" is missing with the account description.
So how can I access from any Freindica Instance the account display name und summary description for a address in JSON?