Is there a way to see how many times a song has been played? - deezer

I've uploaded my band's album some time ago and I would like if there's a way to see how many times a song has been played, and if possible the geolocation from where they have been played.
I've checked the API objects but I wasn't able to find anything to check this.
Many thanks in advanced.
Kind regards,

Sorry, the information you want is not accessible through the API.

Related

Spotify Track List

All!
... I've integrated Spotify in my app using Sample Spotify Examples. I'm able to play track with Spotify's default controller.Now what my problem is: currently I'm able to play only one track. What to do if I want see the entire playlist track?
Thanking You in advance
With the current API, you need to do this yourself. I don't know exactly how you're doing playback, but when the current track ends you should prepare the next track and play it. There's no "play this list" API built-in to CocoaLibSpotify at the moment.

Is it possible to purchase a song on iTunes in app to be recorded over?

I'm a new developer working on an app that allows users to record vocals over a track. I have some tracks that I am selling on iTunes and I would like for users to be able to purchase the a tracks from inside the app and load them to be recorded over.
So what I want is for a user to select a track listing from a table, purchase the track in-app, and be able to press button that will switch views to an audio recorder that loads that track to be recorded over. I've been scouring the documentation and I'm struggling to figure out whether this is even possible.
Does anyone know if this is possible, and can anyone point me in the right direction as to where to begin piecing the code together?
Thank you!
Short answer: Yes it's possible to do what you're trying to do
Long answer: It's possible to access the audio data from any song in the music library using an AVAssetReader (more info here How would you connect an iPod library asset to an Audio Queue Service and process with an Audio Unit? and in a bunch of other SO questions)
You'll probably need to copy the song file into the app's documents directory first to work with it. Then you'll probably need to use Audio Units to mix the microphone input with the audio, but that's a whole other topic that I'm not particularly familiar with so you'll have to search SO for more info on that, there's plenty of related questions.
As for purchasing the song, the easiest way would probably be to just link to the song in the iTunes store and have them buy it there, I believe you can even be an iTunes affiliate so you can possibly make additional money on the purchases that way. Once they have the song, it will be in their library and you can use the AVAssetReader to get it.
You could have the songs listed in a table, and in the didSelectRowAtIndexPath: delegate method you could open the link to the iTunes store for that particular song.
Hope that helps.

Individual video views facebook

Anyone know if there is a way to get the number of views per each video on a fan page?
Through the graph API I am able to get the number of like son a video I was just wondering if it was possible to get the number of views, I know I can get the whole video views from the Insights but that is from the whole page and I am looking to see which is the most popular video
Per this link I am guessing it is not possible, just wondering if anyone has any other ideas.
http://developers.facebook.com/docs/reference/api/video/
Thanks!
If your server hosts the videos, then you can use your server logs to run reports.
If a third party hosts the videos, then you can contact them to see if they offer any view counts.
If facebook hosts the videos, then you will need to use Insights.
You'd be best off by having your own server host each of the videos so you can easily keep track of views, etc.

Wanted to know favorite play list songs of end users, should be on server or client side(sqlite) iPhone sdk?

Actually i am developing an app like net flix and in that i need to save favorite songs of end user, i am playing http live streamed videos and also i need to save played time of an video so that end user would be able to play a song from where he has left this song rather then just play it again from beginning.
They are sending me url of streamed videos in following format
http://xxxxxxxxxx/vod/definsts/mp4/low/mp4:1975010026_01.mp4/playlist.m3u8
so my question is that
What should be the best option to save user's favorite songs according to streamed url, means net flix kind of app having favorite songs in client side or at server side.what should be the preferred one and i am using MPMediaPlayerController from apple MoviePlayer sample app code.
If some one has any idea and want to know any thing more from my side then i will be available. I am and will be highly obliged for your any help.
Sorry but my English is not good and i don't know how to play with words.
Any small help or suggestion would be much appreciated.
Preferably your best option here looks like server side;
Saving the Data When you are removed from the application should be ultimately dealt with on the execution of the app to close.
you have multiple options when doing server Side Calls, One i found to be the best is ASIHTTPRequestDelegate
this has worked wonders and is fairly easy to learn.
You may even want to look into a REST method of pulling Video Feeds, may be a Faster and more secure approach.
hope this Helped! :)

Access iPhone User Songs and Videos?

I was wondering if I can access user's songs and videos in iPhone, part of that access if I can save them or modify them? hopefully not a Jailbroken iPhones
I am greatly appreciated.
Yes, you can. I can't speak for video, because I've only done it for audio, but you can definitely get audio data. These links should get you started. Note: I am as yet unsure if this works with tracks that use any kind of iTunes-related DRM.
First of all, this blog post talks you through the method of accessing the data. Note the reliance on iOS 4.1 or above.
This SO question/answer explains how to get at the raw pcm data, should you want to do more than just save it out.
You can allow the user to pick songs using the MPMediaPickerController class. I think you can save the selected item to your app's sandbox directory.
You can read up on this a bit more with this SO question.