Is there a bug in artist radio? - deezer

When reloading
http://api.deezer.com/artist/6804523/radio/?index=7&limit=3 (while not logged in), the songs do not stay in order, and may not even be the same songs.
i.e. hitting the above URL returns different results each time.
Is this as intended?

Per #Fred_Dzr, "a radio is somethingg[sic] that nevers[sic] stays on the same track"

Related

Tag users in Facebook post without using drop down

I manage a large Facebook group and once a year we need to delete a big chunk of users. I have already generated a list of these user names and their Facebook IDs, but now I want to copy-paste these IDs into a Facebook post and have the users be automatically be tagged - I don't want to go through the drop down menu that appears when you type #. (This way I can say "If your name is on this list, you will be removed" and know that the users will be tagged by facebook and will receive a notification.)
I have tried various things like #[user-id] in my post but nothing seems to work. I followed an old article suggesting something like ##[user-id:0:text] would work, but Facebook apparently patched this.
Can anybody help me figure out if it is possible to copy-paste a list of names (or ID's, or a combination with the # symbol and any other formatting) and have those names be automatically tagged in the Facebook post? I really want to avoid typing the first few characters, pressing TAB to complete and tag the name, and repeating hundreds of times.
Thanks.
Edit: Tried doing this more recently and the issue still exists. I know you can press ESC to drop out of the name popup but that doesn't work when trying to do this programmatically.
Having problems with tagging a photo when FB offers you a drop-down list of potential names? Here is the solution. Continue writing the name you have in mind. Instead of pressing RETURN right away, press ESC. The drop-down list of suggestions should disappear. Now you can press RETURN.

Facebook - click on a like button does not increase the like count

After searching the internet and doing my own research on this subject I still can not find the answer to my problem, so here it is.
When I click the like button (to like my website http://openarchitecture.cz) then the like count is not being increased.
Debugging the FB javascript code on client-side (in Chrome) and examining the ajax response
send back from FB servers after the click on "Like" button, revealed that FB is instructing the Like button to be "disconnected", resulting in the behaviour described below.
The term "disconnected" is a strict FB term (in a sense of a javascript code), it means that on client-side there will be used a "plugin" that will perform certain operations leading to "inactivity" of like button. Technically, when the plugin "disconnect" is beeing recognized as part of the ajax response, there is an array of predefind actions (functions) that will be followed and called sequentially.
Now for the reproducibility of the problem.
Go to http://developers.facebook.com/docs/reference/plugins/like and fill the "URL to Like" field with http://openarchitecture.cz
url.
Click "Get code", then click "Ok" on the pop-up and finally click "Like" button on the right.
The like count should increase. Instead a pop-up shows up for (aprox.) 1 sec.
then the popup disappears. Now I am in the same state as before I click the
like button, i.e. like count is not increased.
I have found similar questions here on SO, but none of them seems to finally
resolve the issue.
The related questions here on SO are:
1. http://facebook.stackoverflow.com/questions/5195183/facebook-like-button-flashing-on-then-off/12958474#12958474
2. Facebook Like button does not work on one website?
One of the suggestions was that this migth actually be a FB bug. I found a (very recently created) bug, reported in FB bug tracking system. The bug is located here:
http://developers.facebook.com/bugs/268340209965207?browse=search_512b8e0bed9724580954683
The bug has however "Low" priority an so far it does not seem to be resolved (it might even be returned as not a FB issue, I am not sure if this possibility is still open).
So for all interested in this.
Is this a real FB bug ?
How have you dealt with this ?
Could it be that my site is for some reason on FB spam/black/"whatever nasty" list ?
Well. This will end up like the other posts, i.e. no lesson learned here.
[The term "page" used later in this post represents the http://openarchitecture.cz page]
I just tried today to like the page again via the FB generated like button (on http://developers.facebook.com/docs/reference/plugins/like/ ) and the result is now ok. So the like count gets increased after clicking the like button.
The difference that I observed when checking the request exchange to FB servers is that this time the communication has been done (by default. i.e. using the XFBML version of the like button) over iframe, not direct ajax call (as was in the past for XFBML).
I dont know what was the cause (I tried the pure iframe version of like button before) but the response going back as a result of the mentioned iframe request is now correct, ie. FB sends back response instructing javascript in client browser to use "connect" plugin not "disconnect" plug-in.
One more thing. One month ago I have created a FB profile (http://www.facebook.com/pages/Openarchitecture/125515934292877) of the page and have done some updates to this profile. So maybe FB decided that the page (being referenced from FB profile) has now earned the provilige to be "liked".
Like I said at the beginning. Problem solved, but no lesson learned.
For me, the problem (Like popup disappearing after a second; "Plugin","disconnect" response) was happening when the Like button URL redirected to another URL.
The fix was to add og:type, og:url, and og:title (required per https://developers.facebook.com/docs/reference/opengraph/object-type/website), then running the URL through the Facebook debugger to clear the cache (https://developers.facebook.com/tools/debug).
More at https://stackoverflow.com/a/16597060/2391566 .

Facebook Like button does not register likes correctly

I am maintaining a blog (in Tumblr): baierblog.com.
For the past few weeks the Facebook like buttons on the blog's posts are acting up.
Few of the posts' like buttons are OK, but others suffer from two problems:
A. Some buttons do not save the like count (you can click on the button but when you refresh the page, the button is reset and your like is not saved). for example: sweet and sour chicken.
B. Other buttons carry the like count of the blog itself (baierblog.com) and not of the exact post. for example: corona brown bread.
This behavior does not seem to be related to my code because when I enter the urls in the Like buttons page the generated buttons act the same.
The site passes the Lint Debug.
Any ideas?
Update: Though Mutant24 spotted an error, it does not seem to be the cause of the problem.
With out any interference by my part, the two examples given above now act the same. meaning, they both carry the like count of the blog itself (as do the Like buttons in the Like Button generation page for these urls).
The value held in graph.facebook.com/http://baierblog.com/post/19733836593/sweet-and-sour-chicken is the real like count of that post.
Dori : in the og meta tags u have assigned wrong value in og:url
original url is - http://baierblog.com/post/17578099422/dark-chocolate-cake
and your are providing - http://baierblog.com/
Please fix it and check ur issues will be solved.
Inserting the "Sweet and sour chicken"'s url into the like button creator produces the following error:
The app ID specified within the "fb:app_id" meta tag is not allowed on
this domain. You must setup the Connect Base Domains for your app to
be a prefix of
http://baierblog.com/post/19733836593/sweet-and-sour-chicken.
Its attempting to like the post but failing.

Like button and privacy concern

I'm operating a website within the EU and nowadays there's no way without those social buttons all around (according to "them" "up there").
Recently there's a concern about the legality of this in the EU, notably the collection of user information sent to the US servers without explicit user consent.
There was a German report on golem.de, along with advice from a lawyer (sorry, German only) that it would be sufficient if the integrated like button would not automatically trigger an interaction with the US server per se, but only with user consent, i.e. manual interaction such as the click.
We currently use the official method of inclusion along with subscribing to the edge.create event to get some sense of its usage. But unfortunately this works by loading an iframe with content from Facebook, thus immediately sending data about the user without his consent, without him even clicking on it. I seek a way to avoid that.
Idea: Show a local image with a local href which starts loading the Facebook stuff only when user actually clicks on it.
The problems as I see them:
The user clicks on my DOM element and now I'd need to act like the real FB button was pressed, but how can I do that, since the real button isn't there? If I load the button, the user would see a second one, need to click again, etc. I'd need to load if off screen, fake the click, etc. Complicated and confusing.
The counter next to the likes would be missing. I'd need to find a way to get that information for the current URL (e.g. server side), smartly cache that data, and still be able to show that to the user. I have no idea where I would get that data.
Being within EU or not, law or not, since I started only recently looking into this (because my job demanded it), it got me the creeps when I realized how it really works. I'm a web paranoid, can't believe I'm alone.
Any ideas how to tackle the above problems?
For me, the ultimate solution is how the German news portal heise.de implemented it.
Unfortunately it's all in German, but their solution is to show a dummy picture before instead and allow the user to selectively allow it for the whole site. See the article in German or Google translation to English.
This created quite some user interested (German article, Google translation to English) and has already called Facebook (presumably from Germany) on the plan, as they wrote in their article, that it is against their policy to use their button in they way they did.
Update:
And now it hit Slashdot: Heise's 'Two Clicks For More Privacy' vs. Facebook
The edge.create callback doesn't include the user ID; it just notifies you of which Like button was clicked. Unless the user has given you their details some other way, there's no way to determine from Facebook who the user is from either the presence of a Like button or from the user Clicking on it.
Facebook's FAQ item about what information is collected by Facebook when users view Like buttons but don't interact with them is here: https://www.facebook.com/help/?faq=186325668085084
To answer your specific questions:
I'm not sure how to do this without it being a jarring user experience. Effectively, you're describing a solution where you want to offer Facebook Like functionality, but make the user click something first saying 'I want to see the Facebook Like buttons'
You can access the current Like count for any URL or object in the Graph API at https://graph.facebook.com/, for example, a call to https://graph.facebook.com/facebook returns the following information (in JSON format):
{
"id": "20531316728",
"name": "Facebook",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/174597_20531316728_2866555_s.jpg",
"link": "https://www.facebook.com/facebook",
"likes": 51545712,
"category": "Product/service",
"website": "http://www.facebook.com/\n",
"username": "facebook",
[...]
the likes field there isn't exactly the number which would be displayed on a Like button, but it's a good number to start from.
(The actual number on the Like button also includes other statistics, as mentioned on https://developers.facebook.com/docs/reference/plugins/like/ )

Trigger HTML POST/Form submit w/o JavaScript

I have a timed page that I need to use to submit a form upon the end of a specified time period.
The usage would be: User visits page, 90 seconds later all form data is submitted and user is redirected to next page.
The user is well aware that the page they are on is timed (its for a web-only experiment), so I'm not worried about "unfriendly" browser behavior on this page.
Ideally, I'd like to avoid using JavaScript (some of our targeted users are using no-script for various reasons, but if its the only way, so be it), and would also like to avoid just passing variables through the URL (to cut down on the possibility of spoofing). It is easy enough to set a META refresh tag to do the redirecting, but at the end of the time period I need some way for the response header to be set as if the submit button was clicked, whether or not it actually was.
Thanks in advance for any thoughts you might have.
Can't be done.