Database Reference
In-Depth Information
@ResultColumn("contentId")
private String contentId;
@ResultColumn("title")
private String title;
@ResultColumn("url")
private String url;
@ResultColumn("tagstr")
private String tagstr;
@ResultColumn("timestamp")
private Long timestamp;
@ResultColumn("username")
private String userNameForPost;
private String timestampAsStr;
@ResultColumn("owner")
private Boolean owner;
// getters and setters
}
Adding a Status Update
The page shown in Figure 11-10 shows the form to add a status update for the current user, which is displayed when
clicking on the “Add Content” link just under the “Graph Story - Social Feed” header. The HTML for the form can be
found in {PROJECTROOT}/WebContent/mustache/html/graphs/social/posts.html . The form uses the addContent
function in graphstory.js to POST a new status update and to return the response and add it to the top of the status
update stream.
 
Search WWH ::




Custom Search