views:

19

answers:

2

Hi,

Can anyone who can give me a step by step instruction on downloading my twitter public time line using Silverlight 4.0?

I already have a consumer key, consumer secret, token and token secret.

Thank you in advance/.

A: 

im sure Twitter has an API. Go download it, read its documentation. The best case scenario is if twitter exposes a web service. then things would be trivial implementing it in SL 4.

AlvinfromDiaspar
+1  A: 

I used LinqToTwitter library. It is quite scenarios complete and it lets you query Twitter in Linq style.

Pradeep
Do you have a test sample application? I'm really having a hard time implementing those API. Thank you
xscape
Pradeep
Why is when I reference and build it, it has an error Error 8 The type or namespace name 'LinqToTwitter' could not be found (are you missing a using directive or an assembly reference?) C:\LinqToTwitter_v2.0.12\LinqToTwitter\WindowsFormsApplication1\Form1.cs 9 7 WindowsFormsApplication1
xscape
By the error that you have posted, I am guessing that you are trying to run some sample application that came with LinqToTwitter. Try creating your own sample app. In my app all I have done is a reference to LinqToTwitter and to System.Xml.Linq dll.
Pradeep
I created my own app using Visual Studio 2010, I initialized TwitterContext, hit F5, error comes. You can view my screenshots here http://dl.dropbox.com/u/1719731/Untitled.png. Thank you
xscape
I replicated your problem. Basically you created a Windows application in VS2010. By default target framework of windows applications in VS2010 is .Net Framework 4 Client Profile. LinqToTwitter library is somehow dependent on "System.ServiceModel.Web" dll which is not part of .net 4.0 client profile. Go to project properties and switch to target framework as .Net Framework 4. That should solve the issue. Happy coding. :)
Pradeep
Wow! Thank you so much for your big help. I've been working on this since yesterday. Thank you very much
xscape

related questions