Adding a null check to Twitter Sample.
Merge pull request #407 from VimalDhupar/TwitterNullCheck

Adding a null check to Twitter Sample.