T
T
therealvetalhidden2014-10-15 17:49:10
Facebook
therealvetalhidden, 2014-10-15 17:49:10

how to get aceess_token api facebook?

how to get aceess_token api facebook? I read on the Internet, but on FB everything has changed a long time ago, I can’t figure it out. I need to receive via php, and maybe someone else knows how to get an infinite token?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Hudinsky, 2014-10-15
@myLizzarD

Why do you need a token? If you fetch public data that does not require a custom token (for example, posts from a company page), you can use the string as an access_token

$this->account->getAppKey().'|'.$this->account->getAppSecret()
. In principle, this is the infinite token.
But for getting user-specific data, for example getting all friends for the current user who visited your site, there is a more complicated getting procedure, described at this link .
In general, the types of access_token are described here .
P.S. if you describe specifically the situation for which you will use the token, I can explain in more detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question