开发者

Show Facebook stream published feed actionlink to fans only

开发者 https://www.devze.com 2022-12-20 09:32 出处:网络
I created a company page, developed an app to publish feeds to that page. It works fine, but I have to find a way to show its action links only to that page\'s fans. I tried Page.IsFan() method, but i

I created a company page, developed an app to publish feeds to that page. It works fine, but I have to find a way to show its action links only to that page's fans. I tried Page.IsFan() method, but it is not working, as said in docs开发者_运维百科.

I desperately need to find a way if current user viewing that feed is fan of my page and hide action links if not a fan. Is it possible?


It's not possible - feed stories are static content once they're published, and that includes the action links. Page.isFan is meant for API calls within an application - and works perfectly well in an application context - but you can't make API calls from within a feed story.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号