CursorMovement is null when querying statuses

Oct 19, 2013 at 11:36 PM
Hello, I have the following query in my Windows Phone application:
            query = from status in TwitterContext.Status
                   where status.Type == StatusType.User
                   && status.Count == 100
                   && status.ScreenName == screenName
                   && status.Cursor == nextCursor
                   select status;
And I get the statuses like this:
                        query.MaterializedAsyncCallback((asyncResponse) =>
                        {
                            if (asyncResponse.Status == TwitterErrorStatus.Success)
                            {
                                    foreach (var status in asyncResponse.State)
                                    {
                                        statusList.Add(status);
                                        nextCursor = status.CursorMovement.Next;
                                    }
                            }
                        });
But status.CursorMovement returns null and the app throws exception. I use CursorMovement when retrieving user lists successfully.

What might be the problem?
Coordinator
Oct 20, 2013 at 9:07 AM
Hi,

User timelines don't use cursors for paging. I wrote a blog post, Working with Timelines with LINQ to Twitter, to show how to page through timelines.

@JoeMayo
Marked as answer by canol on 10/20/2013 at 2:14 PM
Oct 20, 2013 at 9:11 AM
I see, thank you very much!