Skip to content
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

Unable to postMessage to multiple social sites in a single call #6

Open
AbhijitKurane opened this issue Aug 23, 2017 · 0 comments
Open

Comments

@AbhijitKurane
Copy link

Hi,
Below is the method which we are using to post the message on social sites,
public void postMessage(String text,
@nullable String pictureUrl,
@nullable String videoUrl,
@nullable String linkUrl,
@nullable String linkName,
@nullable String linkCaption,
@nullable String linkDescription,
@NotNull Boolean enableTracking,
String userToken,
String publishToken,
java.util.Collection providers,
OAManager.OAManagerPostHandler handler)

It works perfectly for posting a message to one social site at a time.
But when we try to post the message to multiple social sites then it fails.
For posting the message to multiple site we used 2nd last parameter,
java.util.Collection providers

Here with this parameter we added facebook and twitter in the collections and used the "User" object which we received from either twitter or facebook after successful login.

So can you guide for this how exactly we can achieve posting the message to the multiple sites in a call.
Do we have any provision where we can send the array of User token as we are accepting array of providers.
Awaiting for the reply.

--
Thanks,
Abhijit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant