Why do I need to be logged in?
-
Hi
I have Jetpack installed and I am just trying to use the publicize option but it doesn’t seem to work (e.g nothing is sent out to LinkedIn, Google=, FB, Twitter etc) IF I am not logged in.
When I have a browser window open and I am logged in I can run a manual feed import that loads articles from feeds and posts them to my site. I also get the publicize action working with posts to LinkedIn, FB etc.
However how do I know JUST from looking at an edited page that Publicize has run or worked?
When viewing articles in edit mode that HAVE been publicized there are no ticks in the disabled (in the generated HTML source all checkboxes have disabled=”disabled” for each social media sites I have linked in) so that is no good.
Also there is no custom field or Post Meta that would indicate the Publicize action had fired (and worked or not which would be nice) – and even nicer if it showed WHY it had errored e.g a log window/file listing events like
-[date stamp] – Post Published
-[date stamp] – Post Publicized to Twitter account X
-[date stamp] – Post Not Publicized to LinkedIN account X due to a failed OAuth connection
-[date stamp] – Post Not Publicized to Facebook account X due to an HTTP connection timeoutThis would be very handy!
For some reason whether articles are OR not publicized the social media tick boxes are ALWAYS disabled – never with ticks in.
I can manually run a feed import, get my articles posted and publicizied but when a CRON job runs an import of articles and I am not manually logged in somewhere, it just doesn’t send anything out even though the post is published.
Is there some sort of OnPublicize action that I could use to generate a custom post META value/custom field to tell me the publicize action had run (successful or not)?
This would be very handy for some of my own plugins which rely on delayed saves as I could use the action / hook to fire some of my own code and display a cutom field that showed whether publicize had run or not.
Also as you are using remote API calls to run most of your plugins code how can I debug it to see what is going wrong?
E.G when the CRON job runs and the posts are published but not publicized I want to see what failed. At the moment it is looking like it needs somone to be logged in as admin for it work at all.
Thanks
Rob
- The topic ‘Why do I need to be logged in?’ is closed to new replies.