Skip to content

Post guid vs the meta-key 'external-id' for storing the origin of external posts. #412

Answered by akirk
Menrath asked this question in Q&A
Discussion options

You must be logged in to vote

The guid is the fallback when there is no external id since it only is set for posts coming in via ActivityPub. The external id will always be the id, both for posts received via Create or Announce (which funnels into handle_incoming_create), but for announces the guid will be the actual URL.

Since the Friends plugin can also receive posts through other sources like RSS, it could be that the external id is not set. And in that case, the URL is the fallback.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Menrath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants