aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.h
diff options
context:
space:
mode:
authorMickaƫl Thomas <mickael9@gmail.com>2017-02-23 21:27:04 +0100
committerdx <dx@dxzone.com.ar>2017-02-23 21:42:17 -0300
commit3e8dd702c65c8b374e30b41f9886466325dae671 (patch)
treede37f9eb76a4131c2dbcaa83dfe88b00c0b586a0 /facebook/facebook-api.h
parentbc8e710b6c52faa38f89b0496cfb59c8d5c71721 (diff)
downloadbitlbee-facebook-3e8dd702c65c8b374e30b41f9886466325dae671.tar.gz
bitlbee-facebook-3e8dd702c65c8b374e30b41f9886466325dae671.tar.bz2
bitlbee-facebook-3e8dd702c65c8b374e30b41f9886466325dae671.tar.xz
Extract target url from fbrpc:// URLs
Those URLs seem to be generated when the Android share feature is used. Fixes #97
Diffstat (limited to 'facebook/facebook-api.h')
-rw-r--r--facebook/facebook-api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/facebook/facebook-api.h b/facebook/facebook-api.h
index cb7467f..b6a2812 100644
--- a/facebook/facebook-api.h
+++ b/facebook/facebook-api.h
@@ -68,6 +68,13 @@
#define FB_API_WHOST "https://www.facebook.com"
/**
+ * FB_API_FBRPC_PREFIX
+ *
+ * The fbrpc URL prefix used in links shared from the mobile app.
+ */
+#define FB_API_FBRPC_PREFIX "fbrpc://facebook/nativethirdparty"
+
+/**
* FB_API_KEY:
*
* The Facebook API key.