Facebook深度链接target_url参数缺少iOS [英] Facebook deep linking target_url parameter missing iOS
问题描述
我使用我的Facebook上的GraphAPI的 me / photos
和 me / feed
发布链接和照片iOS应用程式在发布到Facebook时,我指定链接
参数。当解析 - (BOOL)应用程序中的url参数时,应该返回一个
在本地Facebook应用程序帖子中点击AppName时的回调。 target_url
字段:(UIApplication *)应用程序openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication注释:(id)注释
但是,我只得到 fbXXXXXXXXXX:// authorize /#access_token = XXXXXXX& expires_in = 3600
。为什么没有 target_url
字段?
以下链接说明,如果在Facebook上创建帖子时指定了链接
参数,则应返回。
https://developers.facebook.com/docs/ios/app-links
我知道这已经被AppLink取代了,但是我使用了一个旧SDK SDK(3.2) b
$ b
任何帮助将不胜感激。
这听起来像是一个Facebook的错误。错误报告已提交给Facebook,症状相同:
https://developers.facebook.com/bugs/651932701585804/
它已经被修复,正在等待发布。
I am posting links and photos using me/photos
and me/feed
of the GraphAPI on Facebook from my iOS App. I specify the link
parameter when posting to Facebook. This should return a target_url
field when parsing the url parameter in the- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
callback when tapping the AppName in the native Facebook App post.
However, I only get fbXXXXXXXXXX://authorize/#access_token=XXXXXXX&expires_in=3600
. Why is there no target_url
field?
The following link explains that it should be returned if the link
parameter is specified when creating the post on Facebook.
https://developers.facebook.com/docs/ios/app-links
I know this has been replaced by AppLinks but I am using an older SDK of Facebook(3.2) which should cater for this.
Any help would be appreciated.
This sounds like a bug with Facebook. A bug report was submitted to Facebook with the same symptoms:
https://developers.facebook.com/bugs/651932701585804/
It has since been fixed and is awaiting release.
这篇关于Facebook深度链接target_url参数缺少iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!