Opening URL to facebook page wall does not work in

2019-05-17 17:23发布

I am trying to display my facebook page wall (a link of the form http://www.facebook.com/PAGE_NAME?sk=wall) by passing this as a request to UIWebView. The view opens with the generic page (http://www.facebook.com/PAGE_NAME) unless I login to facebook inside my app UIWebView. The same link works fine in Safari even if I am not logged in. How can I make the UIWebView show the wall page?

1条回答
叼着烟拽天下
2楼-- · 2019-05-17 18:21

Facebook redirects Facebook pages differently on the mobile device over the computer web browser.

You'll have to use 'v' value parameter, but just to warn you, Facebook can change this parameter redirection at any time and therefore resulting in screwing up your FB wall link.

ex) http://m.facebook.com/WescomCreditUnion?v=wall

查看更多
登录 后发表回答