如何在没有用户登录的情况下在网站上显示Facebook墙贴? [英] How do I display the facebook wall posts on the website without user to login?

查看:71
本文介绍了如何在没有用户登录的情况下在网站上显示Facebook墙贴?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理.net网站项目,该项目汇集了多个Facebook帐户墙壁信息源。我能够获得访问令牌用于图形API调用,但是我需要这样做,而无需用户登录到Facebook,或至少需要在幕后完成。

I'm working on the .net website project that aggregate multiple sources of Facebook account wall posts. I'm able to get the access token to use for the graph API calls but I need the way to do this without user logging in to the Facebook or at least it needs be done behind the scene.

根据Facebook文档,我必须向用户选择授权我的应用程序,是否可以跳过此过程或最佳做法是什么这个?

According to the Facebook doc, I have to give the choice to the user to authorize my app, is it possible to skip this process or what is the best practice to do this?

谢谢

更新

我终于使用App登录方法,只需按照以下文件:

I finally use App Login Method by just follow the document:

http://developers.facebook.com/docs/authentication/

这允许我无需访问令牌用户授权我的应用程序。

This allow me to get access token without user authorize my app.

推荐答案

当用户授权您的应用程序时,请求 offline_access 权限。您可以使用此令牌进行请求,即使用户当前没有联机。

Request the offline_access permission when the user authorizes your application. You can then use this token to make requests even if the user is not currently online.

您不能跳过初始授权 - 这是Facebook的要求。

You cannot skip the initial authorization - this is a requirement of Facebook.

这篇关于如何在没有用户登录的情况下在网站上显示Facebook墙贴?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆