[wp-meta] [Making WordPress.org] #2907: Tagregator: Instagram items not getting pulled
Making WordPress.org
noreply at wordpress.org
Sat Jul 22 11:37:41 UTC 2017
#2907: Tagregator: Instagram items not getting pulled
-------------------------------------------------+-------------------------
Reporter: coreymckrill | Owner:
Type: defect | coreymckrill
Priority: normal | Status: accepted
Component: WordCamp Site & Plugins | Milestone:
Keywords: has-patch 2nd-opinion dev-feedback | Resolution:
has-screenshots |
-------------------------------------------------+-------------------------
Changes (by xkon):
* keywords: needs-patch => has-patch 2nd-opinion dev-feedback has-
screenshots
Comment:
Okay so! After a lot of fiddling with instagrams new API I managed to make
a really easy process on installing it's Access Token without having the
user going back and forth on accepting urls etc.
As you will see in the Patch I have 2 different methods for getting the
posts in `tggr-source-instagram.php` .
One is for the /users/self API call that also works when Sandboxed.
One for /tags/$/ that works ONLY if there is public access enabled in
instagram.
Before commiting the patch you will have to alter the code again to
whatever is more useful depending on what you need for the WordCamps.
`If the apps created for WordCamps don't have public access enabled and
they are sandboxed the tags public call will not work. Only the 'self'
that is currently in code now will.`
Now part from that for a weird reason that I cannot find out I'm always
getting an error from:
{{{
[22-Jul-2017 11:26:20 UTC] PHP Notice: Undefined index: consumer_key in
tggr-source-twitter.php on line 152
[22-Jul-2017 11:26:21 UTC] PHP Notice: Undefined index: consumer_secret
in tggr-source-twitter.php on line 152
}}}
This is probably a different problem from the twitter settings but it
causes the options to reset. I was not able to fix it I'm just informing
you of this as well.
Maybe I'll make a new ticket about it ?
I'm marking this as 'has-patch' as the instagram problem is fixed but it
needs good testing as I'm not sure how everything else works in there ^_^
hahah.
This is a working screenshot using the /self/ api as I'm sandboxed so it
reads only my own posts.
[[Image(https://cldup.com/vePkTeFGeb.png)]]
Best regards,
Konstantinos
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2907#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list