Company | Newzulu Platform | Developer

Developer Template Documentation v4.12.2.47

Add to favs


Add to favs

/action/v2/addtofavs

Adds a media item to a user favorites. Requires an active user session

Requires a form token

Requires a session token - the user must be logged in

Supports redirectUrl param of fm:Form component

Example

<fm:Form action="/action/v2/addtofavs" method="post" > <input type="hidden" name="mid" value="555888" /> <fm:Form_Custom><button type="submit">Add to Favorites</button></fm:Form_Custom> </fm:Form>

Supported params

Name Required Description
mid Required Id of the media being added to favorites. Must be a valid id in the project in Newzulu Platform

See also

<< 3.4.7 Add text comment 3.4.9 Confirm friend >>