i did 100% like what u do in the video and only changed the condition and make it when a node is published
the post on facebook don't have the right metatags "the global" until i fetch new infos then it will take the node metatags
https://developers.facebook.com/tools/debug/
and the other thing is the module every 3 days it stop working
i noticed that its logged out from the facebook account
any fix please of ideas what to do ?

Comments

e0ipso’s picture

Category: Bug report » Support request
WebWalker3D’s picture

While I have no issues with the metatags, because that's all something that it setup as a per content basis (does not apply to this module), and furthermore isn't really needed if you do the configuration in rules correctly, I also have experienced the login / logout issue.

Specifically, every couple of days I have to navigate to /admin/config/services/fbautopost and click on login. I assume this is most likely a Facebook issue, because it is not issuing a long lived access token. But I do believe it's something that is in fact a bug.

Per Facebook documentation: https://developers.facebook.com/docs/facebook-login/access-tokens

User access tokens come in two forms: short-lived tokens and long-lived tokens. Short-lived tokens usually have a lifetime of about an hour or two, while long-lived tokens usually have a lifetime of about 60 days. You should not depend on these lifetimes remaining the same - the lifetime may change without warning or expire early.

and

Access tokens generated via web login are short-lived tokens, but you can upgrade them to long-lived tokens. Converting short-lived tokens to long-lived tokens is covered later in this document under Expiration and Extending Tokens.

see: https://developers.facebook.com/docs/facebook-login/access-tokens#extending for extending tokens.

WebWalker3D’s picture

Component: User interface » Code
Assigned: B Boy Breaker » Unassigned
Category: Support request » Bug report
WebWalker3D’s picture

Title: Wrong metatags and loging out every 3 days or like that » Facebook Access Token not correct