gpt4 book ai didi

ios - 如何获取 Facebook 页面的页面 ID

转载 作者:行者123 更新时间:2023-11-29 01:38:51 24 4
gpt4 key购买 nike

有没有办法获取任何 Facebook 页面的 Facebook 页面 ID。我必须在 Facebook 应用程序上打开 Facebook 页面,但这需要页面 ID

NSURL *facebookURL = [NSURL URLWithString:@"fb://profile/113810631976867"];
if ([[UIApplication sharedApplication] canOpenURL:facebookURL]) {
[[UIApplication sharedApplication] openURL:facebookURL];
} else {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://facebook.com"]];
}

请指导以上内容。

最佳答案

手动查找 PageID

选择 1

看这个link ,在此链接中添加您的页面名称,它会显示输出

选择 2

第一步

Go to your FB page

第二步

Right-click on the image and copy the link!

第三步

Paste the link into the Address Bar in your browser, a text editor or anywhere else that’s handy

Your Page’s or Profile’s ID is the number after the LAST period

输出类似

enter image description here

关于ios - 如何获取 Facebook 页面的页面 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32652928/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com