androidhtmlfacebookuriuri-scheme

Open Facebook to post status using URI Scheme


I am trying to open Facebook with URI scheme and have a predefined text.
I cannot achieve what I want, I can only open the Facebook but without predefined text.

I tried the following:

fb://publish/profile/me?text=test
fb://publish/?text=#test#
fb://post/?message=test
fb://composer?text=test

Any idea how to achieve it? (I am using nexus 5 if it matters)


Solution

  • As @CBroe said,

    "You are not supposed to pre-fill the message a user is posting in any way. Platform Policies explicitly say so."

    https://developers.facebook.com/policy