I'm trying to make App Links work with my Android app. I have successfully created App-links from wen HTML page(with meta-tags) and its work fine with redirection to my application from Facebook. But when i try with the facebook mobile hosting api which allow us to create app links without help of any server or web page, I Found some serious confusion in facebook documentations. https://developers.facebook.com/docs/applinks/hosting-api I can not get idea How to call api using this below code :
`
curl https://graph.facebook.com/app/app_link_hosts \
-F access_token="APP_ACCESS_TOKEN" \
-F name="Android App Link Object Example" \
-F android=' [
{
"url" : "sharesample://story/1234",
"package" : "com.facebook.samples.sharesample",
"app_name" : "ShareSample",
},
]' \
-F web=' {
"should_fallback" : false,
}'
`
And can any one give some idea regarding how we can call api from android application to achieve app linking.