Import events from Facebook: Implement the IPullPipe interface
To implement the IPullPipe interface, you must implement the GetData method.
To implement the GetData method, add the following method in file FacebookEventsInboundPipe.cs:
public
virtual
IList<WrapperObject> GetData()
{
var wrapperObjects =
this
.LoadWrapperObjectItems();
return
wrapperObjects;
}
You call the LoadWrapperObjectItems helper method to wrap the Facebook events in WrapperObject.