Skip to main content


How does a friendica instance get the "contact id" of a visitor? / Need SQL help


reshared this

This "remote id" detection is some kind of black magic that I hadn't looked at for some time. Concerning the "allow_cid" and the other values: There is no easy command changing this.

Concerning the issue: The photo permission is set here: https://github.com/friendica/friendica/blob/develop/mod/item.php#L241

We have to have a look at the permissions when creating a forum post.

reshared this

For further discussion / remark to myself:

https://github.com/friendica/friendica/blob/develop/src/App.php#L605-L610

could be a good start for "visitor" is identified.

$requester = HTTPSignature::getSigner('', $_SERVER);
if (!empty($requester)) {
	Profile::addVisitorCookieForHandle($requester);
}


The $requester is only filled on full reload (ctrl + f5)

reshared this