开发者

Facebook API+setting password and username+PHP

Is it possible in Facebook API wherein you could set your username and password statically? For instance,

You'll set like this one.

$username = 'myusername@test.com';
$password = 'password123';
$secret_key = 'asdfsd2354fg1215';

The reason why I wanted this one because base on my experience, once you integrated facebook, it always ask for my password and username. I don't want to type in my username开发者_如何学编程 and password again.

I'm creating a website that allows people to use my account without letting them type in my username and password.

How would I do that? or any ideas.

Any help would be greatly appreciated and rewarded. Thanks! :)


Accessing Facebook programatically with a users email address and password is against their Terms of Service. If you wanted to allow other people to control your account, you could get an access token (for example by using the Facebook Graph API Explorer) and then embed that access token into your application and then use the Facebook Graph API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜