Message
POST /messages
A Message is represented as a Shout in the Fanvibe UI. It is a free-text string attached to a Game. Users must check-in before posting a Message.
Parameters
- game_id – (required) Fanvibe or NBA id
-
id_type – (optional) specify
NBAif this is an NBA id - content – (required) Message text
Example
Create a Message for the currently authenticated User like this:
$ curl -d "game_id=176158&content=hi" 'http://fanvibe.com/api/messages.xml' <?xml version="1.0" encoding="UTF-8"?> <message> <id>13792</id> <content>hi</content> <created_at>2010-09-28T15:01:50-07:00</created_at> <user> <id>1</id> <first_name>Arthur</first_name> <last_name>Chang</last_name> <profile_link>http://fanvibe.com/users/art</profile_link> <points>927</points> <facebook_user>true</facebook_user> <twitter_user>true</twitter_user> </user> <share> <message>hi</message> <link>http://fanvibe.com/games/176973?uid=1</link> <name>Celtics vs Heat</name> <caption>Starts 10/10/2010 10:00AM PDT</caption> <description>Join the conversation about Celtics vs Heat on Fanvibe!</description> <image>http://s3.amazonaws.com/fanpulse_team_logos_development/logos/4099/medium.png?1283918752</image> </share> </message>
Next: Favorite →