I'm using soundcloud's PHP sdk. I want to remove a track from my favorites by using the users subresource listed here: http://developers.soundcloud.com/docs/api/reference#users.
I'm trying the following but it gives me a 404:
$soundcloud->delete('me/favorites/'.$track_id);
Related
Is it possible to get lyric info for a track from the Deezer api?
I'm looking for time-tagged data for a karaoke app. The deezer site itself clearly has this available and makes use of it to show karaoke-style lyrics, so the data and access exist, but it's not described anywhere in the api documentation.
They actually do have an API, but it's hidden. You will need a basic understanding of searching Deezer first (which is easy as hell), once you can search for a song and get the ID from that search, use
https://www.deezer.com/ajax/gw-light.php?method=song.getLyrics&api_version=1.0&api_token=[api-token]&sng_id=[song-id]
To get your API key, you can use inspect element on deezer.com. Open Inspect > Network > reload the page > click on (most likely) the second entry > scroll down to "Query String Parameters" > copy api_token and use that in the link above.
The docs for the Deezer search API can also be found here.
Unfortunately, the lyrics are not available on our REST API.
this is a problem that we have had for a couple of days now, when accesing the api (with the proper client id) in order to get the track list for 2 artists Dj Tiesto and AVICII we get no results, even if they have tracks on the current website, it cannot be over limit use because both djs have "Pro Unlimited" accounts so they don't have that problem.
As you can see this link works perfectly
http://api.soundcloud.com/users/aviciiofficial?client_id=CLIENT_ID
But this other one http://api.soundcloud.com/users/aviciiofficial/tracks?client_id=CLIENT_ID, gives us an empty array, it happens no mather the ip or the user that is accesing the url, and many others authors that are also very popular don't have that problem.
When I click on tag in tag clouds web part, I have a tag profile page (mysite.domain.com/tagprofile.aspx?termid=9e183a42-9603-43ea-8e9c-173e62dbe34c) which is empty.
How can I see the data in a tag profile?
UPD: If I click a search tag link, I have query like
SocialTagId:"9e183a42-9603-43ea-8e9c-173e62dbe34c", but no data in result.
I found how to search for tagid, if write in search box query: owstaxIdTaxKeyword:"9e183a42-9603-43ea-8e9c-173e62dbe34c", we have all documents with this tagid.
But how to get result on TagProfile page?
The Tag Cloud in SharePoint leverages social tags, not just any enterprise keyword. Though most tags are pulled from the Managed Metadata Service, social tags are stored alongside the User Profile Service Social Database.
You need to make sure that the library you are tagging documents have social tagging enabled. You do this by going to the Library Settings > Enterprise Metadata and Keywords Settings. Within there, you will be able to enable Save metadata on this list as social tags:
Then, make sure you are using the Tags & Notes board to ensure that your documents are tagged appropriately.
Finally, make sure that you Search Service application is actually crawling. If you have only performed an initial crawl, setup a crawl schedule or switch to using Continuous Crawling.
I'm having problem publishing actions (using OpenGraph) with tagged Google Places instead of Facebook Place. It should be straight forward according to the following document:
https://developers.facebook.com/docs/opengraph/location_tagging/#third_party
But every time I try to publish an action with place=http://GOOGLE_PLACE_URL I get the following error message:
The action you're trying to publish is invalid because the specified place 'http://GOOGLE_PLACE_URL' is invalid.
I've tried to put Google Maps, Google Places and Google+ Local URLs but all with the same problem.
Note: I could successfully publish actions when I set "place=Facebook_Place_ID".
Any help or hint is greatly appreciated!
Thank you,
I don't think Google's place pages have the markup necessary to support Open Graph
From the documentation:
Publishing actions with 3rd party places is similar to the location
tagging example above, except that you will pass in the url to another
site's place object.
The foursquare example in the documentation is defined as a place, as well as having the metadata foursquare uses:
https://foursquare.com/v/eataly/4c5ef77bfff99c74eda954d3
See Facebook's Debug Tool for that URL at https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Ffoursquare.com%2Fv%2Feataly%2F4c5ef77bfff99c74eda954d3 - it clearly shows that foursquare's place is defined as og:type playfoursquare:venue and has location data available for Facebook - i suspect Google does not have this on their place pages
$twitter = new Zend_Service_Twitter('myusername', 'mypassword');
$response = $twitter-> ?????????;
Naybosy cna elp
Twitter have disabled basic authentication and Zend Framework updated their library accordingly to use OAuth.
You'll need to consult the current documentation for Zend_Service_Twitter and make changes to your code.
Saying twitter doesn't do images is incorrect, they added their own image upload service as part of an update in June 2011 and also store references to all images uploaded by the user using third party applications.
You can see this by looking the urls: https://twitter.com/#!/<twitter-username>/media/grid
But Zend framework currently doesn't offer an easy way to grab these. I am looking to do this myself and thinking I will combine the Zend twitter search functionality along with looking at the parameters for entities and media within the twitter api docs:
http://framework.zend.com/manual/en/zend.service.twitter.html#zend.service.twitter.search
https://dev.twitter.com/docs/tweet-entities
I will post back if I do this anytime soon with a link to the code.