How do applications like Google Talk and the Last.fm desktop client access iTunes to get the current track that is playing? Is there a library to do this? I am wanting to make an application in C# that posts song information to my website. Any help is greatly appreciated.
UPDATE
I have some sample code over here to do this in C# using LinqPad
https://stackoverflow.com/a/18246137/215752
Here you go : http://developer.apple.com/sdk/itunescomsdk.html
You need to register with apple of course.
Here is a link to some example code using C# and this COM API. There is also a brief "how to":
http://www.ohscope.com/2009/04/itunes-com-api-in-c.html
Related
I am trying to figure out how to publish opengraph stories using FB.Feed in Unity3d. We are using the Unity Facebook SDK version 6.2.2.
According to the Facebook docs it is possible to utilize the share dialog to post custom opengraph stories.
https://developers.facebook.com/docs/sharing/opengraph/ios#sharedialog
I know it is possible to post stories with FB.API, but that requires extended permissions from the user, which is not something we want to ask for.
Does anyone have a C# code snippet showing how to use the FB.Feed function to post opengraph stories (including metadata and an image)?
Thanks for your kind help.
Ok. I thought I would fix this rather easy, but I'm not getting anything to work for some reason. What I want to do is simple; I want to create a web part displaying the latest tweets from a specific user. I'm coding C#.
I found a great post here but it's using php.
Can anyone help me to perform this simple task?
You can find alot examples over internet
Web:
http://www.microsoft.com/web/post/learning-the-basics-of-using-the-twitter-api-in-aspnet-web-pages-with-razor-syntax
Console:
http://www.d80.co.uk/post/2011/02/13/A-Simple-Twitter-Client-in-C-with-OAUTH-using-TweetSharp.aspx
:)
Hi can someone point me in the write direction. I would like to be able to stream video to the internet from the Glory TV satellite and have no idea on where to start.
I'm learning C#, ASP.NET and Silverlight but need to know how to stream videos from a satellite. I'd like the site to be something like HULU but don't have a clue where to start but i know the technologies i want to use to do.
I've already looked at some of the free open sources silverlight video players i can use.
Are there some similar sites or services api's available that i can look at to get started or learn how to implement this or even books. Any help would be greatly appreciated.
Lanesa
check these out :
http://forums.silverlight.net/forums/p/101837/237098.aspx
http://forums.silverlight.net/forums/p/21970/77051.aspx
http://www.learn-silverlight-tutorial.com/StreamingMediaUsingSilverlight.cfm
hope you guys could share some light with me..are you guys aware of lightscribe? i have the sdk document and am tasked to integrate LightScribe functionality with c#.can anyone of you guide me or mayb have some examples to show me?
I haven't used the lightscribe api myself. But it appears to be a C++ API, what you will need to do is write a C# wrapper around it (using p/invoke)
A quick google search also turns up this wrapper library that someone has already done, have a look at the source in that and you will see the techniques used.
I'm working on an xbl stat grabber. I have a problem I dont understand how to get the "gamer card"
Heres an example : http://www.youtube.com/watch?v=6HA-uz_v6A0&feature=related
I already have the avatar but I don't get how you can grab the stats and recent games...
You need access to the Xbox Live API, I think you have to apply to Microsoft to get on their 'Community Developer' programme, although it's a bit hazy on the site as to whether they are accepting applications or not.
One kind fellow (who I think is a Microsoft employee) saw that this was a terrible oversight from his employers decided to offer as web service that plugged into the Xbox Live network so you can pull statistics down, you can find info about it and a website here: -
http://duncanmackenzie.net/Blog/put-up-a-rest-api-for-xbox-gamertag-data
It's very comprehensive and should give you all the data you need (Gamerscore, current status, last game played etc)
EDIT: Extra stuff that might help
I'm not too familiar with C# but the process of using the service would be to do the following in your application: -
Construct your URL with a/your gamertag as the argument
Use some URL/Networking API (C#/.NET must have something like this somewhere) to load the URL and retrieve the contents. This should return you a big string containing a bunch of XML
Parse the XML into your application using some sort of XML parsing API (again, I'd imagine C#/.NET has these things built into the framework)
From the looks of the program, the gamercard info looks as if it is just an embedding based upon the gamer tag. You can find info on embedding your Xbox Live gamercard here.
The video author said the Halo stat information is coming courtesy of a site called HaloCharts.com. I don't know if he is embedding the information, perhaps reading an RSS feed, or if he is extracting data from the HTML.