How does one set a cookie in rails and access this information across third party sites? For example most sites have facebook and google tracking cookies associated.
The use case is I would like to provide custom content on 3rd party apps via an API call with a user I'd from a cookie.