我正面临有关google plus
实施的2个问题。
我正在尝试像Facebook一样获取google plus Feed。我发现 同一个问题的帖子数量,但没有一个给我 正确答案。 从谷歌开发者网站,我找到了API来获取活动 但是它提供了选定的用户帖子,而不是墙上的帖子。
要在google plus
上分享文字/照片,谷歌正在证明本机共享对话框
框。如何在不使用默认共享框的情况下发帖?
为我提供一些解决方案。感谢
答案 0 :(得分:0)
答案 1 :(得分:0)
只需复制此代码。
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
div {
width: 300px;
border: 1px solid grey;
padding-left: 20px;
padding-bottom: 5px;
padding-right: 25px;
}
body {margin: 25px; font-family: 'Montserrat', sans-serif;}
</style>
</body>
<div id="" style="overflow: auto; height:400px; width:495px;">
<h1>Change this title</h1>
<h5><i>Write your description here (or completely omit it)...</i></h5>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js" async defer></script>
<div class="g-post" data-href="https://plus.google.com/+google/posts/PXaD8t9AKpi"></div>
<div class="g-post" data-href="https://plus.google.com/+google/posts/QDj9aCTypaT"></div>
<div class="g-post" data-href="https://plus.google.com/+google/posts/Cb2TMZ5nbK8"></div>
<div class="g-post" data-href="https://plus.google.com/+google/posts/KjRqbTq3p6L"></div>
<div class="g-post" data-href="https://plus.google.com/+google/posts/67dnaBW6fnp"></div>
<div class="g-post" data-href="https://plus.google.com/+google/posts/iq65sndanF4"></div>
<p><b>Read this: </b>Replace the data-href tag content with the link of your post(s). Duplicate, delete, and create posts at will. You can remove this text and the button that follows it. If you are viewing this as code, you should remember that you do not need to give credits. You should acknowledge that you have to manually update posts, and you can sort through your posts and display the ones you want.</p>
</div>
</body>
是的,是的。