TimeLine in windowsphone 7.1

Jul 25, 2013 at 2:49 PM
Hi everyone, first i wanna say thanks for this beautiful API.

I'm using VisualStudio 2012, c# and a project with windows phone 7.1...

Ps: Sorry for this stupid questions, but i'm newbie. >.<

I spend the last few days trying to create a app that display a specific user timeline, but no sucess. So, i got some questions.

My code:

Auth ---- Think has no problem here
var autorizer = new SingleUserAuthorizer
                    Credentials = new InMemoryCredentials
                        ConsumerKey = "xxxxxxxxx",
                        ConsumerSecret = "xxxxxxxxxx",
                        AccessToken = "xxxxxxxxxx",
                        OAuthToken = "xxxxxxxxxx",
Now i need to display the last 200 tweets:
var twitterCtx = new TwitterContext(autorizer);
for (int i = 0; i < 5; i++) 
                    var statusTweets = (from tweet in twitterCtx.Status
                                        where tweet.Type == StatusType.User &&
                                        tweet.Count == 200 &&
                                        tweet.ScreenName == "@jbanguela"
                                        select tweet);
Until here think it's still everything in your own place, am i right? (fix me if i'm not).

And now is where i'm stuck, after that last code, i don't know the right direction to keep on.
Need to put that last 200 tweets in a listBox, but i don't know how to do.

Here is my xaml code:
<controls:PanoramaItem Header="first item">
                <Grid x:Name="Ego" Grid.Row="1">
                        <DataTemplate x:Key="tweetList">
                                <TextBlock Grid.Row="0" TextWrapping="Wrap" Text="{Binding Text}"/>
                                <TextBlock Grid.Row="1" HorizontalAlignment="Right" Text="{Binding CreatedData}" FontSize="12" FontStyle="Italic"/>
                    <ListBox Height="650" Margin="0,20,0,0" ScrollViewer.VerticalScrollBarVisibility="Visible" ItemTemplate="{StaticResource tweetList}" x:Name="tweetList"/>

I need get the published date, the "avatar", the text and put all that infos inside my listBox

If someone can help me, please i'll apreciate it.

Thanks for your attention.
Jul 25, 2013 at 9:54 PM
Edited Jul 25, 2013 at 9:54 PM

I have a WindowsPhoneDemo in the downloadable source code that you can look at. There are also a few on the Samples page, which probably need to be updated, but might give you some ideas.

Jul 26, 2013 at 12:08 PM
Hello Joe, thanks for your quick answer.
On your demo (both) for Windows Phone 7 i get a error when i try authenticate it. My real problem is: how to put that list of tweets inside my listBox.

Thanks for your attention.