Previously Facebook allowed to share anything you want, now we should use feed and send dialogs. When we are using dialogs to share link to friend, then link should be validated though Facebook (as I remember even without sub domains). Is there a way to add parameter to link like ?ref_id=any_unique_value or other ways, later sever to determine, with whom the link belongs to (and whom to reward).
Asked
Active
Viewed 87 times
0
-
1It's difficult to parse what you're asking here, but you should be able to add a query string (`?ref_id=abcd`) to the `link` parameter of a `FB.ui` "send". Where are you having problems? – Zach Lysobey Aug 15 '13 at 14:56
-
@ZachL you should add it as answer, as it seems that it's exactly what OP was asking :) – Darvex Aug 15 '13 at 15:09
-
I missed something, feed dialog is ok with any link you give it, problem appears with other dialogs, + there exist a /share.php service. – sonnenhaft Aug 15 '13 at 15:18
1 Answers
0
You should be able to add a query string (?ref_id=abcd
) to the link parameter of a FB.ui
"send".
The FB.ui
can be a bit finicky with what link
s it accepts. Please see my answer here for more info on valid links.

Community
- 1
- 1

Zach Lysobey
- 14,959
- 20
- 95
- 149