SocialWebServer
SocialWebServer

Server implementation for receiving social web notifications, e.g.  Pingbacks and Webmentions.

Functions
addWebmention
public function addWebmention(
$source,
$target
)

Receive a webmention.  This validates the mention and inserts a new reply for the appropriate entry. See the Webmention spec for details.

Parameters
source

The source URL for the mention, i.e. the remote site

target

The target URL for the mention, i.e. the URL on our site.

Throws

A WebmentionInvalidReceive if the webmention validation fails.