Twitter-like follow button I'm trying to make a twitter-like "following" system for a content-type I have.

Users have an entity reference to the content-type.

What I want is a user to go onto the content and click the "follow" button. The user's entity ref field would then be populated with this content and the follow button would turn to followed.

Users can follow multiple content.

Can anybody point me in the right direction for accomplishing this please?

Update

I've now got Button and Rules and am trying to set this up, however, I've immediately hit a sticking point: I can't find my content-type in Rules. Shouldn't it be entity:MyContentType?

Update 2

See my answer.
It turns out I was going about this the wrong way.

To create a Twitter-like follow button the best thing to use is the module Flag.

Create a Flag called "Follow Me" (follow_me)

Create a Content-pane View which has:


Sort Criteria: Content: Type (=MyContent)
Context Filters: Content: Nid
Relationships: Flags: follow_chapter (by current user)


This content pane then can be used with Panels.

You can then create another view with the relationship with Flags: follow_me to get a list of content followed by the user.