It should be mobile facebook application and the code which i am using now is :-
parameters.putString("attachment", "{\"name\":\"My Test Image\","
+"\"href\":\""+"http://www.google.com"+"\","
+"\"media\":[{\"type\":\"image\",\"src\":\""+"http://www.google.com/logos/mucha10-hp.jpg"+"\",\"href\":\""+"http://www.google.com"+"\"}]"
+"}");
On Fri, Feb 4, 2011 at 11:55 AM, Robin Talwar <r.o.b.i.n.abhishek@gmail.com> wrote:
Thanks for the gr8 code but i am already running the application and i am able to login to the facebook account
and add a status message but what i actually want is to also show a link option and an image.
I think adding this peice of code should work :-
parameters.putString("link", "http://www.hungama.com");
But apparently it does on one application and not on another application.
Plus i had to send the build to my friend but the build he got didnt have the library in it so should i export it and then mail the jar??
On Wed, Feb 2, 2011 at 8:49 PM, Mozart Petter <mozart.petter@gmail.com> wrote:There's a good example that comes with the Facebook SDK. The only thing that I've changed on that code, is to publish a message on the users wall without using the webview. Here's the code:
https://gist.github.com/807825
Regards
Mozart Petter
http://www.mozartpetter.com/
On Wed, Feb 2, 2011 at 5:16 PM, Abhishek Talwar <r.o.b.i.n.abhishek@gmail.com> wrote:I am new to the world of sharing stuff on facebook.
My target for today is to make a simple application which has a "Post
to FB" button .
When the user clicks on it then a hard coded String from java file is
displayed on the user's profile ; after logint to the facebook account
and creating a session.
Is there any simple beginner tutorial for this cause what i find on
net is quite complex.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment