![](/img/trans.png)
[英]How to share screenshot of libgdx game score in whatsapp and facebook?
[英]How to share game's record on facebook
我想讓我的應用程序用戶能夠在Facebook上共享他們的記錄,我該怎么做? 我沒有下載Facebook SDK,但找不到合適的指南。
我試圖通過這樣的意圖分享它
btShare.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(Intent.EXTRA_TEXT, "https://play.google.com/store/apps/details?id=g.d.squarememory");
startActivity(Intent.createChooser(shareIntent, "Share..."));
}
});
但
1度,它不共享文本和鏈接,我想要2度,我想在我的應用程序徽標旁邊輸入一個文本
你有什么主意嗎
試試這個,這是facebook android集成的很好的教程facebook android集成
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.