-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fb wall posting #29
Comments
Here is a code you can use after having corrected the bug #3:
|
And please find Utils methods here after:
/* |
Thanks Korriged. |
…started Update getting started with more information
Hi,
Is there an way to post on wall without opening the dialog window and i have to add user prompt, attachment, message from my coding rather than asking the user to do so. When the user clicks post to wall button, it should respond back with only success or failure status(no dialog should open),
When i try to add attachment, the dialog shows error. I tried like one mentioned in previous thread, but with no result.
String imgURL = "www.google.co.in/images/srpr/nav_logo13.png";
String linkURL = "www.google.com";
String caption = "My caption";
String description = "My description";
Bundle bundle = new Bundle();
bundle.putString("userMessagePrompt", "Hello");
bundle.putString("attachment", "{"name":""+caption+"","href":""+linkURL+"","description":""+description+"", "media":[{"type":"image","src":""+imgURL+"","href":""+linkURL+""}]}");
bundle.putString("message", "My message");
mAsyncRunner.requestPOST("stream.publish", new Bundle(), new WallPostRequestListener());.
Thanks.
The text was updated successfully, but these errors were encountered: