fatSlave
fatSlave

Reputation: 84

FB open graph api, publishing like spotify

to explain simply, my site let users to listen music from youtube (totally programmed using client side approach). What i need to implement is a spotify like function in ticker specially when the person is listening to a track.

I have defined Action: Catch Object: Music

What i would like to do is, A. publish this in ticker. Example:

ABC caught {Sample Music} on Mysite [Box with the link]

B. timeline in the activity block!!

is it possible to redirect the user to Mysite, rather than just to my FB app. Also when the user clicks on {sample music}, i would like to redirect it to a particular page .?? is it possible?

As of now, when I click on sample Music, I get redirected to a page a like this:

http://mysite.com?fb_action_ids=502866955644&fb_action_types=fatslave%3Acatch&fb_source=other_multiline

and actually i need to pass three variables to my site (or my redirected site), lets say Artist, track, videoID, any idea how to go about it.

Upvotes: 2

Views: 659

Answers (1)

fatSlave
fatSlave

Reputation: 84

Got it working with help of Cbroe!!

step 1: create custom action properties (in my case propa, propb , propc - mark as required)

step 2: when user redirects to ur site with action ID, use action Id to retrieve the custom action properties using GET.

more info here

Upvotes: 1

Related Questions