搜索插件、代码仓与 APP 分类

插件详情v7.3.3

flutter_facebook_auth

将 Facebook 登录添加到您的 Flutter 应用的最简单方法。功能包括获取用户信息、个人资料图片等。此插件还支持 Web 和 macOS。

AndroidiOSWebmacOS
近 30 天下载
19.7万
喜欢数
1430
Pub 分数
150

安装插件

flutter pub add flutter_facebook_auth

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Flutter Facebook Auth 是一个简单的插件,可将 Facebook 登录集成到 Flutter 应用程序中。它简化了通过 Facebook 认证用户的过程,并提供访问用户数据(如姓名、电子邮件和头像)的功能。该包支持 Android、iOS、Web 和 macOS 等多个平台,非常适合跨平台应用。通过最少的设置和清晰的文档,开发者可以快速实现安全的社交认证功能。

适合场景

  • 社交登录实现
  • 用户资料检索
  • 跨平台身份验证
  • 使用社交账户的应用程序入门
  • 安全身份验证

主要特点

  • Facebook 登录集成
  • 用户个人资料数据访问
  • 支持 Android、iOS、Web 和 macOS
  • 使用最少的代码即可轻松设置
  • 安全的令牌处理

适合对象

  • 移动和网页应用开发者
  • 需要社交登录的应用
  • 初创公司构建MVP
  • 需要快速身份验证集成的项目
  • 跨平台应用程序

使用建议

  • 需要配置 Facebook 应用 ID
  • 需要正确的权限设置
  • 可能需要额外的隐私政策披露
  • 取决于 Facebook SDK 版本兼容性
  • Web 支持需要正确设置 OAuth 重定向 URI

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

image

pub version last commit license stars

Features

  • Login on iOS, Android and Web.
  • Express login on Android.
  • Granted and declined permissions.
  • User information, picture profile and more.
  • Provide an access token to make request to the Graph API.

Full documentation 👉 https://facebook.meedu.app

✅ Don't forget to leave your like if this plugin was useful for you.

IMPORTANT: Upon installation of this plugin, configuration is needed on Android before running the project again. If this is not done, an error of No implementation found would show because the Facebook SDK on Android would throw an Exception error if the configuration is not yet defined. This error also locks the other plugins in your project, so if the plugin is not yet needed, either remove it or comment it out from the pubspec.yaml file.

所属分类

依赖

依赖清单 3 项

  • facebook_auth_desktop^2.3.1
  • flutter_facebook_auth_platform_interface^6.1.3
  • flutter_facebook_auth_web^6.1.2

源码仓库

使用此插件的项目