Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
com.shamanland:facebook-like-button
Advanced tools
Implementation of Facebook social plugin 'Like' for Android
Implementation of Facebook 'Like' social plugin for Android.
Official Facebook SDK does not provide such component for Android.
This library uses WebView
to display <iframe>
based plugin.
http://blog.shamanland.com/p/facebook-like-button.html
dependencies {
compile 'com.shamanland:facebook-like-button:0.1.8'
}
Easy integration with ListView.
Various layout available for any of your purposes.
Custom web-page will be shown with <iframe> plugin.
User will be asked to login on official Facebook site.
Original Facebook <iframe> based plugin works inside WebView.
You can set up any of Facebook options.
<activity
android:name="com.shamanland.facebook.likebutton.FacebookLikeActivity"
android:label="@string/facebook"
android:theme="@style/Theme.Facebook.Like"
/>
Single 'Like' button:
<com.shamanland.facebook.likebutton.FacebookLikeButton
style="@style/Widget.FacebookLikeButton"
app:pageUrl="http://blog.shamanland.com/"
app:pageTitle="Developer's notes"
app:pageText="This is blog about Android development."
app:pagePicture="@drawable/ic_launcher"
/>
'Like' plugin with box:
<!-- FacebookLikePlugin extends LinearLayout -->
<com.shamanland.facebook.likebutton.FacebookLikePlugin
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<com.shamanland.facebook.likebutton.FacebookLikeButton
style="@style/Widget.FacebookLikeButton"
app:pageUrl="http://blog.shamanland.com/"
app:pageTitle="Developer's notes"
app:pageText="This is blog about Android development."
app:pagePicture="@drawable/ic_launcher"
/>
<com.shamanland.facebook.likebutton.FacebookLikeBox
style="@style/Widget.FacebookLikeBox"
app:calloutMarker="left"
/>
</com.shamanland.facebook.likebutton.FacebookLikePlugin>
'Like' plugin with box above, custom name:
<!-- FacebookLikePlugin extends LinearLayout -->
<com.shamanland.facebook.likebutton.FacebookLikePlugin
android:layout_width="80dp"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<com.shamanland.facebook.likebutton.FacebookLikeBox
style="@style/Widget.FacebookLikeBox"
android:layout_width="match_parent"
app:calloutMarker="bottom"
/>
<com.shamanland.facebook.likebutton.FacebookLikeButton
style="@style/Widget.FacebookLikeButton"
android:layout_width="match_parent"
android:text="@string/share"
app:pageUrl="http://blog.shamanland.com/"
app:pageTitle="Developer's notes"
app:pageText="This is blog about Android development."
app:pagePicture="@drawable/ic_launcher"
/>
</com.shamanland.facebook.likebutton.FacebookLikePlugin>
Copyright 2014 ShamanLand.Com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
Implementation of Facebook social plugin 'Like' for Android
We found that com.shamanland:facebook-like-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.