I have looked everywhere, but I am not able to find how one is supposed to be able to edit the metadata for a track using the SoundCloud API, see the image below, which is what I'm trying to update via API.
Im using the Python SoundCloud API, and am able to do this via curl.
Related
Is it possible to fetch data from Twitter or Facebook...etc without using any plugins?
For example I want to:
Authenticating the user in order to take permission to fetch his own data from the API.
Getting user basic information (Username, number of followers and following, etc..).
I tried to search for a tutorial related to this issue but all I found using firebase_auth and flutter_twitter_login so, is it possible to do this without using the previous plugin?
I hope someone could let me know some docs for this issues :)..
I have successfully added Facebook login functionality to my Ionic 3 application following the Ionic docs and I can receive needed user profile data from Graph API.
Now I can't figure out how to add the check-in option.
Facebook Graph API docs say check-in is now only possible by POSTING the data with the user that has 'publish_actions' rights.
So something like this should work:
this.facebook.api("me/feed?place=123123123123", ["publish_actions"])
(where place is the Place ID of the page I want to check-in)
But it does not work because the api method only creates GET requests and there is no way to set the request method to POST
Also the cordova's Facebook plugin also doesn't seem like it supports posting to Graph API.
I can't find any examples of Ionic check-in code examples or any way of doing this.
Anyone have any experience with this?
I have all the data needed to make this Graph API request - User Id, required permissions and place Id.
Please ask if additional info is required.
Iam using this link as reference to fetch tracks uploaded on my account to play them in my app.
It is clearly written in the guide that "To access public resources you just have to pass a client_id parameter" in the following URL
https://api.soundcloud.com/tracks?client_id=YOUR_CLIENT_ID
I have created an app on my SoundCloud account and passed the Client ID generated there in the above URL. I am getting around 50 tracks, but unfortunately none is from my PlayList/tracks.
I also tried to create multiple apps and use their Client ID, but no success.
Kindly point out if I am missing something OR should I follow some other approach.
My purpose is to fetch the tracks that are uploaded on my SoundCloud account.
Regards.
The url that you provided is used to fetch details about specific track by passing additional id parameter.
To fetch tracks uploaded by specific user, you should use:
http://api.soundcloud.com/users/[USER ID]/tracks?client_id=YOUR_CLIENT_ID
I want to get songs list which played in Spotify, and I could see it under 'recently activity' feed, but how to get those recently activity feed info Using facebook API?
Yes, I know I could get common feed by 'me/feed', but is there a way to get recently activity feed like 'me/activity feed'?
It seems that Facebook has prepared the api for it, but it is not working yet. I guess it will be available on https://graph.facebook.com/me/music.listens at some point.
Read more here:
https://developers.facebook.com/docs/beta/authentication/read/ and
Using Open Graph API, can I see when users Add To Playlist or Star tracks in Spotify?
Does someone know the API for updating user profile information on facebook?
I want for instance to change my location from my client application. Is that possible?
I am using Facebook C# SDK, but an example in any other language would be great.
I do not believe they support updating a user's profile information from the exposed Facebook API. The Graph API documentation currently states that only the following elements are editable (editable as in, you can create them):
Wall Posts (feed)
Object Comments
Likes
Notes
links
events
event status
albums
album photos
checkins
As you can see, the User object is not one of objects Facebook exposes for edit purposes. It does support the ability to publish location checkins, however. While this does not meet your goal of modifying the location attribute of a user's profile, it does provide some basic abilities.
POST https://graph.facebook.com/<profile_id>/checkins?
access_token=<access_token>
&coordinates={...}
&message=my+message
&place=<page_id>
&tags=<tag1>,<tag2>,...
See the checkin documentation for an example using curl. This example should be executable by any platform specific Facebook API (Java, C#, etc..).
You can't update informations from the API. All you can do is reading / searching / posting / deleting / analysing data.
You can find everything there.
Cheers