且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法在fb:admins中将有效的用户ID解析为fbid

更新时间:2021-11-07 22:17:28

FBDebugger在这里解释说,给定的ID并不是它可以理解的有效全局用户ID(不要与应用程序范围的ID混淆).

FBDebugger here explains that given ID isn't a valid global user id (don't confuse with app scoped ids) that it can understand.

我认为,为了使此工作正常进行,您将需要使用全局用户ID,您可以通过使用facebook.com上的开发工具,通过检查可能包含全局ID作为ID和/的一部分的任何元素来获得该用户ID.或html标签上的数据属性.

I think in order to get this working you will need to use your global user id, which you can obtain i.e. by using dev tools on facebook.com by Inspecting any Element that may contain your global id as part of id and/or data attribute on html tag.

我想到的第一件事是标签上的'id'attr,上面的迷你图像位于顶部栏中:

The first thing came to my mind was 'id' attr on tag with my mini image in top bar:

它看起来像id ="profile_pic_header_123456789",其中123456789是我的全局ID.

It looks like id="profile_pic_header_123456789" where 123456789 is my global id.

使用该ID-搜寻器应该可以让您成为页面的管理员.

With that ID - crawler should be able to make you an admin of your page.