Facebook opengraph actions with multiple objects - facebook

How can one achieve
User listening to {SONG_TITLE} by {ARTIST_NAME}

start here: http://developers.facebook.com/docs/opengraph/music/bridge/
Facebook Music bridge
Goal:
Enable play buttons on feed stories on Facebook.com that can play and pause tracks and indicate which is playing.
Mechanism:
The client loads part of the Facebook JS SDK which provides an interface for FB to send play and pause commands to the client, and allows the client to send status updates back to Facebook.

Related

Broadcast Live Session From Website via WebRTC To Ant Media Server And Then To Facebook Live

I'm building a web app that lets users start a live broadcast by:
Going to our website & login with Facebook with the permissions to create live videos
Click on the "Start Live Video" button on our website.
That will create a new FB Live stream using Facebook API and an RTMPS URL will be returned
The user starts their live broadcast. We capture video on our website and push the video stream to Ant Media Server using WebRTC.
We then want Ant Media Server to rebroadcast the live broadcast to the RTMPS URL we'll provide it so that the broadcast will be sent to Facebook Live
We've managed to do steps 1-4 but we're having trouble with (5). Does anyone have any experience with this?
Thanks a lot.
Charles Tang

Soundcloud API and Custom music player

I am trying to build a Cordova application in which users will post the links to tracks on Soundcloud. Using their API, I ll need to play the track on my custom music player on the application.
There are some points I cant understand from the API -
Will the end user need to authenticate to listen to the tracks?
The API supports playing the track on the html5 audio element?
Can I play any other user's track if I have its link?
The end user need not authenticate.
Yes it supports html5 audio element.
Yes if the track is available to the public.
http://jsbin.com/cevuga

Prevent Deezer connection popup to show automatically

I am developing a deezer web application (javascript SDK).
I have a simple "hello world" player (example from the deezer dev website); if I start playing a song I can listen just to the 30 secs preview and it is correct, I am not connected to deezer.
What I want to avoid is the automatic deezer connection popup window which appears just after the music start playing. What I would like to do is instead explaining to the user why she has the 30 sec limit and invite her to connect her deezer account. That automatic popup is very very confusing for the average user. Is there a way to prevent it?
Furthermore: it is still not clear to me WHEN this popup is showed: if I am logged in facebook (not in deezer, just in facebook), the popup is showed, otherwise is not.
In order to do a test, I have DELETED my deezer account (which I registered through facebook) but it seems that when I am logged into facebook the Deezer SDK still remember me and launches the popup...
Does anyone has more information about?
There is no way to block that popup. It shows up every time a user needs to register/sign up to stream full tracks (usually after getting the 30 seconds previews). Credentials are cached so if the user is logged in Deezer from another browser window or previous navigation (on Deezer.com or any website using Deezer connect), it won't show up and those credentials will be used.
The only way you can be more proactive about the Deezer registration is to guide your user to your own login button (using DZ.login from the SDK) on your page before getting the popup.

Can I post my own message in Facebook "Real Time App Activity" (apps ticker)?

Is it possible to post my own message and publish it on the app ticker whenever i want?
(Not talking about the general ticker on users feed, but the one you have when you enter an app)
For example: Every time a user logged in, facebook publish a message in app ticker (on the right) that the user started to play the app.
I believe what you're looking for is publishing an action.
For a high-level explanation: https://developers.facebook.com/docs/beta/opengraph/#news-feed
For the tutorial: https://developers.facebook.com/docs/beta/opengraph/tutorial/
You can set specific Open Graph actions for your application that will be viable to appear in the app ticker. I do not think there is anyway to FORCE facebook to display your action.
You can read more here about the Open Gaph Protocol.

facebook api for reflecting events

I want to develop a carrom game.
I don't want to integrate this game in facebook. but when one of the players playing the game the others must able to see that changes on their own computer.
This can be done via facebook(means players must log in to facebook). So is there any facebook_erlang api to send events to other players?
Using the Facebook API you can build an application. Doesn't have to be Erlang. If you want to build an application where players can send messages you can do that within your Facebook application, which can be build using Erlang.