This project has moved and is read-only. For the latest updates, please go here.

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)
                                        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?
Oct 20, 2013 at 9:07 AM

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.

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!