facebook - How to executing the following command in Android? -


i create new app linking object sharing posts of android application facebook sdk. around , found this. app "mobile-only". so, seems supposed send command facebook. how can send ?

fyi; have set-up facebook app , integrated "sharing post on facebook via android app". seems 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, }' 

check page:

https://developers.facebook.com/docs/graph-api/reference/v2.1/app/app_link_hosts

there sample code android sdk under publishing


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -