Skip to content

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

@AbhijitKurane

Description

@AbhijitKurane

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions