How to executing the following command in Android?

Posted by Aung Pyae on Stack Overflow See other posts from Stack Overflow or by Aung Pyae
Published on 2014-08-19T04:06:35Z Indexed on 2014/08/19 4:20 UTC
Read the original article Hit count: 141

I would like to create a new App Linking object for the sharing posts of my android application to facebook sdk. I look around and I found this. My App is "Mobile-Only". So, it seems I supposed to send this command to facebook. How can I send this ?

FYI; I have set-up Facebook App and successfully integrated "Sharing Post on Facebook via Android App". Seems I am quite new on Graph API of Facebook SDK.

Thanks.

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,
}'

© Stack Overflow or respective owner

Related posts about android

Related posts about facebook