Facebook iPhone应用程序支持的所有自定义URL方案是什么? [英] What are all the custom URL schemes supported by the Facebook iPhone app?

查看:143
本文介绍了Facebook iPhone应用程序支持的所有自定义URL方案是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注意

 这些网址可能不可用。 
Facebook已经更新了很多次,并没有正式支持任何这些

/注意



我正在尝试查看有关iPhone应用程序在iPhone上的信息
到目前为止,我找到了一对网站含有有限的信息。我找到了Facebook Profile Publish命令。 (不幸的是,你发布后保持窗口打开,所以发布到Facebook的人必须推送一次,然后取消)。



我的问题是,有没有人有有关可以发送到Facebook应用程序的命令的更多信息。



以下信息,我可以从 http://wiki.akosma.com/IPhone_URL_Schemes




  • fb :// profile - 打开Facebook应用程序到用户的个人资料

  • fb:// friends - 打开Facebook应用程序到朋友列表

  • fb:/ /通知 - 打开Facebook应用程序到通知列表(注:似乎有一个这个URL的错误,通知页面打开,但是不可能导航到Facebook应用程序中的其他任何地方)

  • fb:// feed - 打开Facebook应用程序到新闻源

  • fb:// events - 打开Facebook应用程序到活动页面

  • fb://请求 - 打开Facebook应用程序到请求列表

  • fb:// notes-打开Facebook应用程序到Notes页面

  • fb:// albums - - Open Facebook应用程序到相册列表



这些命令只打开相应的窗口。
我发现的第一个有用的命令是




  • fb:// publish / profile /#ID#?text =#BODY#



这是Facebook图形API和其他应用程序中发现的其他信息的组合。然后一点点嘘声和希望。



用要发布的个人资料的ID替换#ID#,然后用要发布的文字替换#BODY#至。并且该窗口显示在预先填充的文本的Facebook应用中。



此外,您可以使用我作为ID发布到已登录的用户个人资料。



如果有任何人知道我正在尝试与它进行接口,并希望尽可能多的信息。

解决方案

2014年6月EDIT :这是Facebook v12的更新列表:

  fb:// album?id =%@ 
fb:// background_location
fb:// browse?semantic =%@& result_type =%d& source_type =%d& title =%@
fb:// codegenerator
fb:// composer?%@
fb:// composer?pagename =%@& pageid =%@
fb:// composer ?target =%@
fb:// composer?view = location
fb:// contactimporter /?ci_flow =%d
fb:// discovery
fb:// entitycards /?ids =%@& source =%@
fb:// event?id =%@
fb:// event?id =%@& post_id =%@
fb:// eventguestlist?event_id =%@
fb:// events / list
fb:// eventslist?owner_fbid =%@
fb:// f(。+) ?\ |和放大器; )V =地图(\&安培; *。)?
fb:// f(。+)incorrect_map_pin(\&。*)?
fb:// friendsnearby
fb:// friendsnearby /?source =%@
fb:// friendsnearby /?source = divebar
fb:// friendsnearby / ping? fbid =%@& source =%@
fb:// friendsnearby / profile?fbid =%@& source =%@
fb://礼物?
fb:// group?id =%@
fb:// group?id =%@& object_id =%@& view = permalink
fb:// hashtag /
fb:// hashtag /%@
fb:// location_settings
fb:// messageComposer?
fb:// message / new
fb:// messaging / new?id =%@& name =%@& isPage =%d
fb:// messaging?
fb:// messaging?id =%@
fb:// messaging?id =%@&%@
fb:// messaging?tid =%@
fb:// messagelist
fb:// page?id =%@
fb:// page?id =%@& source =%@& source_id =%@
fb :// page_about?id =%@
fb:// page_friend_likes_and_visits?id =%@
fb:// page_reviews?id =%@
fb:// photo?%@
fb:// photo?id =%@
fb:// pnp?type = instructions
fb:// products?%@
fb:// profile
fb:// profile /%@
fb:// profile?id =%@
fb:// profile?id =%@&%@ =%@
fb: // story?%@
fb:// story?graphqlid =%@
fb:// story?id =%@
fb:// timelineappsection?id =%@
fb:// topic /%@
fb:// uploadcoverphoto
fb:// zrnext

2013年4月EDIT :看起来没有一个以下的作品已经不再是最新版本了,可能已经重写了Facebook应用程序导航。一些逆向工程在最新版本上做...



我想这可能有帮助,这是从v3.4:



$ {pre> fb:// album /%@
fb:// album /(aid)
fb:// album /(aid)/ cover
fb:// album /(initWithAID :)
fb:// album /(initWithAID:)/ cover
fb:// album / new
fb:// albums
fb://生日
fb://生日/(initWithMonth:)/(年)
fb://生日/(月)/(年)
fb:/ / chat /(fbid)
fb:// chat /(initWithUID :)
fb:// chat /(user.fbid)
fb:// contactimporter
fb: // contactimporter / invites
fb:// contactimporter / legalese
fb:// contactimporter / modal
fb:// event /%@
fb:// event /% llu
fb:// event /(event.fbid)/ members /(rsvpStatus)
fb:// event /(fbid)
fb:// event /(fbid)/ members / attending
fb:// event /(fbid)/ members / rejected
fb:// event /(fbid)/ members / not_replied
fb:// event /(fbid)/成员/不确定
fb://事件/(fbid)/ rsvp
fb://事件/(initWithEventId :)
fb://事件/(initWithEventId:)/ members / rsvpStatus :)
fb:// event /(initWithEventId:)/ rsvp
fb:// events
fb:// events /
fb:// faceweb /(initWithURL :)
fb:// facewebmodal /(initWithURL :)
fb:// feed
fb:// feed /%@
fb:// feed /(filter。 filterKey)
fb:// feed /(initWithFilterKey :)
fb:// feedfilters
fb:// findfriends
fb:// findfriends / legalese
fb :// findfriends / modal
fb:// friends
fb:// friends / picker
fb:// friends / sync
fb:// friends / sync /( removeData :)
fb:// friends / sync / disconnect
fb:// friends / sync / legalese
fb:// group /(fbid)/ members
fb: // group /(initWithGroupId:)/ members
fb:// groups
fb:// launcher
fb:// mailbox
fb:// mailbox /(folder)
fb:// mailbox /(initWithFolder :)
fb:// mailbox /(initWithFolder:)/(tid :)
fb:// mailbox /(mailbox.folder)/( tid)
fb://邮箱/撰写
fb://邮箱/撰写/(fbid)
fb://邮箱/撰写/(initWithUID :)
fb: // map
fb:// messaging
fb:// messaging /(folder)
fb:// messaging /(initWit hFolder :)
fb:// messages /(initWithFolder:)/(tid:)/ participant
fb:// messaging /(initWithFolder:)/ thread?tid =(tid :)
fb:// messaging /(mailbox.folder)/(urlEscapedTid)/参与者
fb:// messaging /(mailbox.folder)/ thread?tid =(urlEscapedTid)
fb:// messaging / compose
fb:// messaging / compose /(fbid)
fb:// messaging / compose /(initWithUID :)
fb:// messaging / original_message?mid =(commentId)
fb:// messaging / original_message?mid =(initWithMessageId :)
fb://附近
fb:// note /%@
fb:// note /( initWithNoteId :)
fb:// note /(initWithNoteId:)/ edit
fb:// note /(noteId)
fb:// note /(noteId)/ edit
fb:// note / compose
fb:// note
fb:// notifications
fb:// online
fb:// online#offline
fb:// online#online
fb:// page /(page.id)
fb:// pages
fb:// photo /%@ / 0 /%@
fb:// photo /(album.user.fbid)/(album.aid)/(pid)
fb:// photo /(album.user.fbid)/(album.aid)/( pid)/ feedback
fb:// photo /(fbid)/ profilepic
fb:// photo /(initWith ProfilePicturesUID:)/ profilepic
fb:// photo /(initWithUID:)/(aid:)/(pid :)
fb:// photo /(initWithUID:)/(aid:)/( pid:)/ feedback
fb:// photosapp
fb:// place /%@
fb:// place /(initWithPageId :)
fb:// place / (targetId)
fb:// place / addfriends
fb:// place / addphoto
fb:// place / create
fb:// places
fb :// places /%lld /%lld
fb:// places /(initWithCheckinAtPlace:)/(byUser :)
fb:// places / legalese / tagged /%lld /%lld
fb:// places / legalese / tagged /(initWithTaggedAtPlace:)/(byUser :)
fb:// post /%@
fb:// post /%@ _%@
fb:// post /(initWithPostId :)
fb:// post /(initWithPostId:)/ tagged
fb:// post /(postId)
fb:// post /(postId)/ tagged
fb:// post /(postId)/ untagSelf
fb:// post /(untagSelfFromPostWithId:)/ untagSelf
fb:// profile
fb:// profile /
fb:// profile /%@
fb:// profile /%lld
fb:// profile /(addFan:)/ addfan
fb:// profile /(fbid)
fb:// profile /(fbid)/ addfan
fb:// profile /(fbid)/ addfriend
fb:// profile /( FBID)/ fanbages
fb:// profile /(fbid)/ fans
fb:// profile /(fbid)/ favorite
fb:// profile /(fbid)/ friends
fb:// profile /(fbid)/ info
fb:// profile /(fbid)/ menu
fb:// profile /(fbid)/ mutualfriends
fb:// profile /(fbid)/ photos
fb:// profile /(fbid)/ poke
fb:// profile /(fbid)/ removefriend
fb:// profile /(fbid)/ wall
fb:// profile /(initWithFBID:)/ menu
fb:// profile /(initWithFansUID:)/ fans
fb:// profile /(initWithFriendsUID:)/ friends
fb:// profile /(initWithInfoUID:)/ info
fb:// profile /(initWithMutualFriendsUID:)/ mutualfriends
fb:// profile /(initWithPhotosUID:)/ photos
fb:// profile /(initWithUID :)
fb:// profile /(initWithUID:)/ addfriend
fb:// profile /(initWithUID:)/ fanpages
fb:/ / profile /(initWithUID:)/ poke
fb:// profile /(initWithUID:)/ removefriend
fb:// profile /(initWithWallUID:)/ wall
fb:// profile /(toggleFavorite:)/ favorite
fb:// profile /(user.fbid)/ fans
fb:// profile /(user.fbid)/ friends
fb:// profile /(user.fb id)/ mutualfriends
fb:// profile / 0
fb://发布
fb://发布/邮箱/(initWithFolder:)/(tid :)
fb :// publish / mailbox /(mailbox.folder)/(tid)
fb://发布/照片/(album.user.fbid)/(album.aid)/(pid)
fb :// publish / photo /(initWithUID:)/(aid:)/(pid :)
fb://发布/发布/(initWithPostId :)
fb://发布/ postId)
fb://发布/配置文件/(fbid)
fb://发布/配置文件/(initWithUID :)
fb://发布/配置文件/(owner.fbid)
fb:// request
fb:// root
fb:// upload
fb:// upload /%@ / album /%lld /%@
fb:// upload /%@ / checkin /%lld
fb:// upload /%@ / profile /%lld
fb:// upload /(initWithSource:)/ album /(uid :)/(aid :)
fb:// upload /(initWithSource:)/ checkin /(checkinId :)
fb:// upload /(initWithSource:)/ profile /(uid :)
fb:// upload / actions
fb:// upload / actions / album /(initWithUID:)/(aid :)
fb:// upload / actions / album /(user。 fbid)/(aid)
fb:// upload / actions / checkin /(checkinId)/
fb:// upload / actions / checkin /(initWithCheckinId :)
f b:// upload / actions / newalbum
fb:// upload / actions / profile /(fbid)
fb:// upload / actions / profile /(initWithUID :)
fb: // upload / actions / resume
fb:// upload / album /(showUploadMenuWithUID:)/(aid :)
fb:// upload / album /(user.fbid)/(aid)
fb:// upload / checkin /(checkinId)
fb:// upload / checkin /(showUploadMenuWithCheckinID :)
fb:// upload / discard
fb:// upload / profile /(fbid)
fb:// upload / profile /(owner.fbid)
fb:// upload / profile /(showUploadMenuWithUID :)
fb://上传/恢复
fb:// userset
fb:// video /%@
fb:// video /(playVideoWithId :)
fb:// video /(videoId)


Note

These URL's are likely not available.
Facebook has been updated a number of times and did not Officially support any of these

/Note

I am trying to see what information is available about the Facebook app on the iPhone So far I have found a couple sites containing limited information. And I was able to figure out the Facebook Profile Publish command. (unfortunately it keeps the window open after you post. so the person who publishes to facebook has to push post once and then cancel.)

My question is, does anyone have any more info on the commands that can be sent to the Facebook app.

The following information I was able to obtain from http://wiki.akosma.com/IPhone_URL_Schemes

  • fb://profile – Open Facebook app to the user’s profile
  • fb://friends – Open Facebook app to the friends list
  • fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it’s not possible to navigate to anywhere else in the Facebook app)
  • fb://feed – Open Facebook app to the News Feed
  • fb://events – Open Facebook app to the Events page
  • fb://requests – Open Facebook app to the Requests list
  • fb://notes- Open Facebook app to the Notes page
  • fb://albums – - Open Facebook app to Photo Albums list

These commands only open the corresponding windows. The first useful command I found is

  • fb://publish/profile/#ID#?text=#BODY#

this is a combination of the Facebook graph api and some other info I found on other application. Then a little poke and hope.

replace #ID# with the id of the profile you want to post to, then replace #BODY# with the text you want to post to. and the window shows up in facebook app with the text pre populated.

Also you can use me as an id to post to the signed in users profile.

If anyone knows any more I am trying to interface with it and would like as much information as possible.

解决方案

June 2014 EDIT: Here is the updated list from Facebook v12:

fb://album?id=%@
fb://background_location
fb://browse?semantic=%@&result_type=%d&source_type=%d&title=%@
fb://codegenerator
fb://composer?%@
fb://composer?pagename=%@&pageid=%@
fb://composer?target=%@
fb://composer?view=location
fb://contactimporter/?ci_flow=%d
fb://discovery
fb://entitycards/?ids=%@&source=%@
fb://event?id=%@
fb://event?id=%@&post_id=%@
fb://eventguestlist?event_id=%@
fb://events/list
fb://eventslist?owner_fbid=%@
fb://f(.+)(\?|&)v=map(\&.*)?
fb://f(.+)incorrect_map_pin(\&.*)?
fb://friendsnearby
fb://friendsnearby/?source=%@
fb://friendsnearby/?source=divebar
fb://friendsnearby/ping?fbid=%@&source=%@
fb://friendsnearby/profile?fbid=%@&source=%@
fb://gift?
fb://group?id=%@
fb://group?id=%@&object_id=%@&view=permalink
fb://hashtag/
fb://hashtag/%@
fb://location_settings
fb://messageComposer?
fb://messaging/new
fb://messaging/new?id=%@&name=%@&isPage=%d
fb://messaging?
fb://messaging?id=%@
fb://messaging?id=%@&%@
fb://messaging?tid=%@
fb://messaginglist
fb://page?id=%@
fb://page?id=%@&source=%@&source_id=%@
fb://page_about?id=%@
fb://page_friend_likes_and_visits?id=%@
fb://page_reviews?id=%@
fb://photo?%@
fb://photo?id=%@
fb://pnp?type=instructions
fb://products?%@
fb://profile
fb://profile/%@
fb://profile?id=%@
fb://profile?id=%@&%@=%@
fb://story?%@
fb://story?graphqlid=%@
fb://story?id=%@
fb://timelineappsection?id=%@
fb://topic/%@
fb://uploadcoverphoto
fb://zrnext

April 2013 EDIT : Looks like none of below works anymore with latest versions, facebook app navigation probably has been rewrited. Some reverse engineering to do on latest version...

I guess that might help, that's from v3.4 :

fb://album/%@
fb://album/(aid)
fb://album/(aid)/cover
fb://album/(initWithAID:)
fb://album/(initWithAID:)/cover
fb://album/new
fb://albums
fb://birthdays
fb://birthdays/(initWithMonth:)/(year:)
fb://birthdays/(month)/(year)
fb://chat/(fbid)
fb://chat/(initWithUID:)
fb://chat/(user.fbid)
fb://contactimporter
fb://contactimporter/invites
fb://contactimporter/legalese
fb://contactimporter/modal
fb://event/%@
fb://event/%llu
fb://event/(event.fbid)/members/(rsvpStatus)
fb://event/(fbid)
fb://event/(fbid)/members/attending
fb://event/(fbid)/members/declined
fb://event/(fbid)/members/not_replied
fb://event/(fbid)/members/unsure
fb://event/(fbid)/rsvp
fb://event/(initWithEventId:)
fb://event/(initWithEventId:)/members/(rsvpStatus:)
fb://event/(initWithEventId:)/rsvp
fb://events
fb://events/
fb://faceweb/(initWithURL:)
fb://facewebmodal/(initWithURL:)
fb://feed
fb://feed/%@
fb://feed/(filter.filterKey)
fb://feed/(initWithFilterKey:)
fb://feedfilters
fb://findfriends
fb://findfriends/legalese
fb://findfriends/modal
fb://friends
fb://friends/picker
fb://friends/sync
fb://friends/sync/(removeData:)
fb://friends/sync/disconnect
fb://friends/sync/legalese
fb://group/(fbid)/members
fb://group/(initWithGroupId:)/members
fb://groups
fb://launcher
fb://mailbox
fb://mailbox/(folder)
fb://mailbox/(initWithFolder:)
fb://mailbox/(initWithFolder:)/(tid:)
fb://mailbox/(mailbox.folder)/(tid)
fb://mailbox/compose
fb://mailbox/compose/(fbid)
fb://mailbox/compose/(initWithUID:)
fb://map
fb://messaging
fb://messaging/(folder)
fb://messaging/(initWithFolder:)
fb://messaging/(initWithFolder:)/(tid:)/participants
fb://messaging/(initWithFolder:)/thread?tid=(tid:)
fb://messaging/(mailbox.folder)/(urlEscapedTid)/participants
fb://messaging/(mailbox.folder)/thread?tid=(urlEscapedTid)
fb://messaging/compose
fb://messaging/compose/(fbid)
fb://messaging/compose/(initWithUID:)
fb://messaging/original_message?mid=(commentId)
fb://messaging/original_message?mid=(initWithMessageId:)
fb://nearby
fb://note/%@
fb://note/(initWithNoteId:)
fb://note/(initWithNoteId:)/edit
fb://note/(noteId)
fb://note/(noteId)/edit
fb://note/compose
fb://notes
fb://notifications
fb://online
fb://online#offline
fb://online#online
fb://page/(page.id)
fb://pages
fb://photo/%@/0/%@
fb://photo/(album.user.fbid)/(album.aid)/(pid)
fb://photo/(album.user.fbid)/(album.aid)/(pid)/feedback
fb://photo/(fbid)/profilepic
fb://photo/(initWithProfilePicturesUID:)/profilepic
fb://photo/(initWithUID:)/(aid:)/(pid:)
fb://photo/(initWithUID:)/(aid:)/(pid:)/feedback
fb://photosapp
fb://place/%@
fb://place/(initWithPageId:)
fb://place/(targetId)
fb://place/addfriends
fb://place/addphoto
fb://place/create
fb://places
fb://places/%lld/%lld
fb://places/(initWithCheckinAtPlace:)/(byUser:)
fb://places/legalese/tagged/%lld/%lld
fb://places/legalese/tagged/(initWithTaggedAtPlace:)/(byUser:)
fb://post/%@
fb://post/%@_%@
fb://post/(initWithPostId:)
fb://post/(initWithPostId:)/tagged
fb://post/(postId)
fb://post/(postId)/tagged
fb://post/(postId)/untagSelf
fb://post/(untagSelfFromPostWithId:)/untagSelf
fb://profile
fb://profile/
fb://profile/%@
fb://profile/%lld
fb://profile/(addFan:)/addfan
fb://profile/(fbid)
fb://profile/(fbid)/addfan
fb://profile/(fbid)/addfriend
fb://profile/(fbid)/fanpages
fb://profile/(fbid)/fans
fb://profile/(fbid)/favorite
fb://profile/(fbid)/friends
fb://profile/(fbid)/info
fb://profile/(fbid)/menu
fb://profile/(fbid)/mutualfriends
fb://profile/(fbid)/photos
fb://profile/(fbid)/poke
fb://profile/(fbid)/removefriend
fb://profile/(fbid)/wall
fb://profile/(initWithFBID:)/menu
fb://profile/(initWithFansUID:)/fans
fb://profile/(initWithFriendsUID:)/friends
fb://profile/(initWithInfoUID:)/info
fb://profile/(initWithMutualFriendsUID:)/mutualfriends
fb://profile/(initWithPhotosUID:)/photos
fb://profile/(initWithUID:)
fb://profile/(initWithUID:)/addfriend
fb://profile/(initWithUID:)/fanpages
fb://profile/(initWithUID:)/poke
fb://profile/(initWithUID:)/removefriend
fb://profile/(initWithWallUID:)/wall
fb://profile/(toggleFavorite:)/favorite
fb://profile/(user.fbid)/fans
fb://profile/(user.fbid)/friends
fb://profile/(user.fbid)/mutualfriends
fb://profile/0
fb://publish
fb://publish/mailbox/(initWithFolder:)/(tid:)
fb://publish/mailbox/(mailbox.folder)/(tid)
fb://publish/photo/(album.user.fbid)/(album.aid)/(pid)
fb://publish/photo/(initWithUID:)/(aid:)/(pid:)
fb://publish/post/(initWithPostId:)
fb://publish/post/(postId)
fb://publish/profile/(fbid)
fb://publish/profile/(initWithUID:)
fb://publish/profile/(owner.fbid)
fb://requests
fb://root
fb://upload
fb://upload/%@/album/%lld/%@
fb://upload/%@/checkin/%lld
fb://upload/%@/profile/%lld
fb://upload/(initWithSource:)/album/(uid:)/(aid:)
fb://upload/(initWithSource:)/checkin/(checkinId:)
fb://upload/(initWithSource:)/profile/(uid:)
fb://upload/actions
fb://upload/actions/album/(initWithUID:)/(aid:)
fb://upload/actions/album/(user.fbid)/(aid)
fb://upload/actions/checkin/(checkinId)/
fb://upload/actions/checkin/(initWithCheckinId:)
fb://upload/actions/newalbum
fb://upload/actions/profile/(fbid)
fb://upload/actions/profile/(initWithUID:)
fb://upload/actions/resume
fb://upload/album/(showUploadMenuWithUID:)/(aid:)
fb://upload/album/(user.fbid)/(aid)
fb://upload/checkin/(checkinId)
fb://upload/checkin/(showUploadMenuWithCheckinID:)
fb://upload/discard
fb://upload/profile/(fbid)
fb://upload/profile/(owner.fbid)
fb://upload/profile/(showUploadMenuWithUID:)
fb://upload/resume
fb://userset
fb://video/%@
fb://video/(playVideoWithId:)
fb://video/(videoId)

这篇关于Facebook iPhone应用程序支持的所有自定义URL方案是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆