Loads an object from another fediverse server.

Note that a call to this method may potentially take 30 seconds or more.

This method requires an access token, but no permissions.

Parameters

q
string

The URL (ActivityPub ID) of the target object or a username@domain string to resolve a username.

Result

An object:

type
enum

The type of the loaded object.

Possible values: user, group, wall_post, wall_comment, photo_album, photo, comment, topic.

id
string

Identifier of the object.

parent_type
enum

When type is wall_comment or comment, the type of the object that this comment is on.

Possible values: wall_post, photo, topic.

parent_id
string

When type is wall_comment or comment, the identifier of the object that this comment is on.

Errors

401
Failed to fetch remote object due to a network error
402
Remote object is of an unsupported type
403
Request to the remote server timed out
404
Remote object not found
405
Failed to fetch remote object due to other error
Global errors may also occur when calling this method.