oEmbed cannot change parameter visual to false - soundcloud

When I query for SoundCloud oEmbed it return parameter visual=true by default.
After adding visual=false into the end of query, it still returning with full embed player instead of small one.
https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2FSOMETRACK&show_artwork=true&color=%231976d2&show_comments=false&visual=false
Should SoundCloud send visual=true by default?
PS. I noticed that this problem occur since 2014

Are you a pro soundcloud member or pro unlimited? It seems they are required to access the mini embedded widget.
https://soundcloud.com/pro

Related

How to search Facebook's "invitable_friends" results

I have a Facebook app, and I'd like to allow my users to invite their Facebook friends to my app. The proper endpoint is /me/invitable_friends which is working well. But towards the bottom of that doc page, they recommend implementing a "search box" to filter the results, yet they don't offer any example of how to do this. I've searched around and haven't found anything.
It doesn't appear as though you can pass additional params for filtering the results. Obviously I can filter the results after the fact, but that's not scalable since the API only returns ~20 users at a time. That limit is modifiable (I believe), though it's of course not wise to bump it too high.
So how can I build a search box interface if I can't pass the search text to the endpoint? I must be missing something.
Thanks in advance.
PS - I'm using the JS SDK.
You should probably file a bug.
Based on the documentation the default size is 1000 records (average Facebook friend list size is 300-400)
If you don't see the next parameter at the end of the result under paging then there are no more results.

SoundCloud API Streaming fail blank page

There seems to be a silent fail when trying to stream tracks from an account.
Example:
API Gee console:
https://api.soundcloud.com/tracks/#####.json?consumer_key=###
Response: 200
Streamable: true
API Console Stream URL:
https://api.soundcloud.com/tracks/#####/stream?consumer_key=###
404 not found - (Blank white page no error in browser)
Track set to public and API streamable - All tracks on account, which were streaming as normal until the end of last week.
The consumer key works for tracks by other users, so it could be linked to this account directly?
For those coming here for an answer to this problem, it is a known bug when a song reports streamable: true yet results in a blank white page in browser when trying to stream. The bug is in the streamable boolean being false.
Email response from SoundCloud on this issue:
The developers have let me know that the problems you are having is
due to issues with RTMP.
Currently certain content on SoundCloud is using a secure streaming
method called RTMP.
To explain RTMP, even if a track is set to public and streamable by
the artist, if the artist is under a major label, this label can
further control those streaming permissions. So, it looks like it
should stream correctly, however it doesn't.
This particular bug that you have highlighted is more complicated than
originally thought, and as only a handful of tracks are affected we
unfortunately don't have the resources to dedicate a team entirely to
this project as of right now.
So unfortunately you'll just have to deal with/work around this issue.
I've noticed that i get blank page for stream url of tracks which are in "wav" format:
<original-format>wav</original-format>
other formats were working fine.
Not sure what track you're trying to stream. Some tracks are set by the artist to not be streamed.
You got the format for the url correct. Try this url with your own consumer key:
http://api.soundcloud.com/tracks/32476280/stream?consumer_key=[###]
After being in touch with the support team at SoundCloud, they provided the following:
The problems you are having is due to the content and rights holders.
To explain, profile admins have the ability to change settings as they
like, so if the tracks have stopped playing, it's likely that they
have disabled apps on the track or content. This means that the rights
holders, that own all of this content, have turned this setting off,
and we don't have control over it or the ability to enable it again.
They managed to get my "API permissions extended" because the rights holders own the SoundCloud account in question. It seems there was just a mistake somewhere along the way with denying streaming.
You'll need to log an issue with SoundCloud support if you have a similar problem.

Facebook "Canvas URL" field missing

On Facebook developers under app administration, App on Facebook, there are suppose to be two fields. Canvas URL and Secure Canvas URL. Well, today they are gone.
Were there some changes on Facebook or it's a bug?
Edit:
Seems that they fixed it.
Apparently one has to enable Unity integration now to get these input fields to show.
Edit: It’s a bug, they are working on a fix.
You can circumvent the bug by enabling unity integration, change your canvas url, open web inspector in chrome and manually set disabled's value property to true and enabled to false.
The screenshot shows the correct changes for both, "Disabled" and "Enabled".
Upon save, your new URL is registered.
Easier:
Turn on unity integration
Insert your urls
Turn off unity integration
Save!
No errors, no inspector.

Facebook Graph API locale parameter broken?

This API URL gives me the front page of VitaminWater's Facebook page (http://www.facebook.com/vitaminwater):
https://graph.facebook.com/50540568485?fields=id,name,link,picture,posts.fields(message,picture,link,likes)&access_token=...
They have a good deal of content targeted at people in Germany, but no matter what I do, I can't get the API to return it - it always gives me English content. I've tried setting the parameter "locale=de_DE" per Facebook's API reference documentation, as well as passing headers such as "Accept-Language: de" and "Accept-Language: de-DE" None of this works. Is this just broken, or is there some other way to retrieve the content for a specific locale I should be using?
I have no solution but I can confirm that something in API is broken. We are working with monitoring tools from different providers and since March 13 this problem persists and hasn't been solved. Posts from personal and fanpages appearing only randomly in German language.
From an information by one of the tool providers I have learned that they are working together with FB to identify and fix the problem. So maybee it is frustrating to wait but this might be the better approach.

Facebook Timeline Aggregations Filters not working

I'm creating aggregations and setting a filter in the advanced section.
eg: x.category == Style
where x is an object defined in the open graph section of my app and catgory is a custom variable defined for that object
These aggregations don't seem to work. I'm definitely passing the category variable to facebook via the og tags. I can validate that because I use {x.category} in the caption field and it shows the right category. I've changed the aggregation to show actions and objects and neither seem to work. The aggregation box would just not show at all.
Any help is appreciated.
We reached out to the Facebook team and apparently this is a critical bug and they're working on a fix.