Facebook - Post to wall from Android application

笑着哭i 提交于 2019-12-21 04:42:08

问题


Post to wall from Android application...

   parameters.putString("app_id", mAppId);
   parameters.putString("picture", "http://fbrell.com/f8.jpg");
   parameters.putString("name", "Facebook Dialog");            
   parameters.putString("caption", "Reference Documentation");   
   parameters.putString("description", "Dialogs provide simple interface applications...");
   parameters.putString("message", "Facebook Dialogs are easy!");

I have specified above parameters and every time I am getting blank dialog (with title "Post to your wall") - and when I click on "Publish" button - it post correct values on given account... so there is no issue relate to posing parameter values to wall, but I do not know why I am getting balnk dialog!


回答1:


use simple facebook sdk project it simplifies things a lot. They have created a library project for this

https://github.com/sromku/android-simple-facebook



来源:https://stackoverflow.com/questions/6536455/facebook-post-to-wall-from-android-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!