All Projects → fbsamples → VRDeepLinkSDK

fbsamples / VRDeepLinkSDK

Licence: other
VRDeepLinkSDK provides a quick way to integrate your app to display a 360 photo/video content from Facebook.

Programming Languages

java
68154 projects - #9 most used programming language
python
139335 projects - #7 most used programming language

** THIS REPO HAS BEEN ARCHIVED AND IS NO LONGER BEING ACTIVELY MAINTAINED **

VRDeepLinkSDK

This SDK provides code samples on how to construct a URI intent to view 360 immersive contents that are hosted on Facebook, either in Oculus Video/360Photo app if installed or the Facebook for Android application.

To begin, you will pass in the media FBId of the video/photo content to construct the parameter object. You can find the fbid of the content by inspecting the url of the content. For example for video objects, the fbid is the string of numbers (10153779045038951) at the end of the url -

  $ https://www.facebook.com/natgeo/videos/10153779045038951/

For 360 photos, it's the value of the fbid param (1195577430501137)

  $ https://www.facebook.com/teamcoco/photos/a.1195578577167689.1073741827.108905269168364/1195577430501137

Visit:

Requirements

Requires Android OS version KitKat (4.4) or higher. To build you'll need Gradle and the Android SDK with build tools 23.0.3 or above.

Setup

  $ git clone [email protected]:fbsamples/VRDeepLinkSDK.git
  $ cd VRDeepLinkSDK/VRDeeplinkSample   
  $ gradle installDebug
  $ adb shell am start -n com.facebook.vrdeeplinksdk.sample/.VRDeeplinkSampleActivity
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].