문제

I'm using the Facebook Javascript SDK and fbml like-buttons. Using the 'edge.create' callback I know when someone has liked an url. Is it possible to get the facebook-user-id as well? Without them having to log into my App/Domain with FB Connect

I would like to double-store likes for internal statistics (since it's hard to get very fine grain domain statistics via facebook.com/insights)

Regards, Niklas

도움이 되었습니까?

해결책

That information is not available to developers through any of the facebook API's. You might want to store the uid's locally when the user clicks a like button.

Hope that helps. -Roozbeh

다른 팁

Nope, it is not possible to get a users id simply from them clicking on a like button.

I'm not sure why you would even need a users id to simply help you track like button clicks, if you need some sort of unique identifier try using sessions or a cookie.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top