Open hiepxuan2008 opened 4 years ago
We have update params of 2 method shareMessage, shareFeed and deprecated 2 old methods
From Old =>
shareFeed(final Context context, final FeedData feedOb, final ZaloPluginCallback callback)
shareMessage(final Context context, final FeedData feedOb, final ZaloPluginCallback callback)
To New =>
void shareMessage( String message, @Nullable ZaloPluginCallback callback)
void shareFeed( String link, @Nullable ZaloPluginCallback callback)
Can I share image/video/file? - You can share link of Image, Video, File. In your chat frame with your friend, Image and Video (for some link from popular sources like Youtube ) link will be shown as thumbnail, or link preview.
Can I share link? Can I share text? - Of course, you can share link or text
Can I combine image, link, text together? - No
Like above
Can I combine image, link, text together? - Yes, It’ll be shown as a text to your friend at last
We have updated UI for DEMO in branch release/v2.5.0421, check it for more example.
Hi Zalo team, thanks for your demo application. I'm working for a company, that our product wants to interact with Zalo application. I'm caring about
Interact with the app Zalo
section (Message Type & Feed Type). Reference: https://developers.zalo.me/docs/sdk/android-sdk/tuong-tac-voi-app-zalo/dang-bai-viet-post-447 I wonder what kind of data does Zalo Android support for other apps to interact with?I run your demo application, in
FeedData
object, you setand do
zaloOpenApi.shareMessage(mockFeedData(), this)
orzaloOpenApi.shareFeed(mockFeedData(), this)
But it only works withfeed.link
, other fields don't work, can you help to recheck?What kind of data does Zalo support? FOR MESSAGE type:
FOR FEED type:
I'm looking forward to hearing from you as soon as possible. Thanks & Best regards