Plots2: Planning issue to improve automated tweets sent by publiclab.org

Created on 27 Nov 2017  Â·  18Comments  Â·  Source: publiclab/plots2

Please describe the problem (or idea)

Currently, our website sends automated tweets for each new note that someone "stars".
This is good, but could be better. Let's discuss here.

For example, a research note such as, https://publiclab.org/notes/joaquinx/11-25-2017/solar-ballon-flight-trajectory-visualization ...

screen shot 2017-11-27 at 10 37 54 am

...once it is "starred," the automated tweet our site (plus IFTTT, i think) sends looks like:
screen shot 2017-11-27 at 10 38 29 am

Problem: the photo is not included in the tweet, and the username is the publiclab.org username that's unconnected to any possibly existing twitter username for that person.

Here are the features that would make our automated tweets better:

  • Add twitter handle to your publiclab.org profile via a powertag, twitter:@xxxxxxxx
  • Take photo from the note and add it to the tweet

Also needed is a profile page redesign to make space for -- and sense of -- all these new features.

What's your PublicLab.org username?

Liz

break-me-up

Most helpful comment

That'd be great! Thank you so much!

On Jan 10, 2018 4:27 PM, "Sagarpreet Chadha" notifications@github.com
wrote:

Moreover , the email id and description/content are also shown in
tweets now (in above pic) . Also instead of email-id we can give link to
twitter profile of user (not tried though :P) .

—
You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/1802#issuecomment-356742153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ9Z4QhOUDWQe0X0DVME6WzC3c-HIks5tJSs5gaJpZM4Qr1b5
.

All 18 comments

Adding a few items here;

  • [x] modify RSS feed that IFTTT.com uses to switch to Twitter handles IF they exist AND there's a ?twitter=true in the URL (that way we can use the same template for different platforms if needed) -- I think that code is here: https://github.com/publiclab/plots2/blob/master/app/views/notes/rss.rss.builder
  • [x] some better-designed input form for entering twitter handles and the like on your profile
  • [x] a way to display twitter (and other) social media platforms on your profile IF the profile power tags exist

The photo thing may actually not be possible via IFTTT right now -- they seem to have changed things and Twitter disallowed something...? but maybe fixed -- clue here: https://ifttt.com/applets/103249p-tweet-your-instagrams-as-native-photos-on-twitter and http://leaguecomputers.com/blog/2015/04/share-instagram-posts-to-twitter-and-facebook-with-ifttt/

@jywarren sir...can i work on this ?

For images i think our rss format is not right .
screen shot 2017-11-29 at 4 40 36 pm
source: http://www.landofcode.com/rss-reference/image-tag.php

Our xml structure is currently :
(We may have to add link , title and url sub tags in image tag) .
https://github.com/publiclab/plots2/blob/master/app/views/notes/rss.rss.builder
screen shot 2017-11-29 at 4 41 14 pm

What do you think ?

I was thinking of displaying the twitter (and other) social media platforms links if the power tag twitter:______ exists like this :

screen shot 2017-11-29 at 5 36 08 pm

OR like this :

screen shot 2017-11-29 at 6 04 32 pm

What do you think ?

Looks good!

On Nov 29, 2017 7:38 AM, "Sagarpreet Chadha" notifications@github.com
wrote:

I was thinking of displaying the twitter (and other) social media
platforms links if the power tag twitter:______ exists like this :

[image: screen shot 2017-11-29 at 5 36 08 pm]
https://user-images.githubusercontent.com/14952645/33374445-3ec90c7e-d52c-11e7-9e37-e15d46684376.png

OR like this :

[image: screen shot 2017-11-29 at 6 04 32 pm]
https://user-images.githubusercontent.com/14952645/33375418-d9faeeda-d52f-11e7-81cc-b492164885c4.png

What do you think ?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/1802#issuecomment-347848089,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJzfoQskXQUQNdYDhdLO4Cvu5B_G4ks5s7VAQgaJpZM4Qr1b5
.

Thank you @jywarren sir !
So i should continue with which design ?

Sorry, was trying to get input from other team members but I think if you could move ahead with the second design, using Fontawesome icons (which we have installed) that'll be great! Thank you!

http://fontawesome.io/

Solved adding to profile pages in #1816!

Ah - let's also add Instagram -- based on the changes here, it should be pretty straightforward -- even a first-timers-only issue?

https://github.com/publiclab/plots2/pull/1816

Is this issue still the right place to be working on other aspects of this, such as grabbing the lead image (if exists) and using that as an image in twitter? thanks for any advice!

Yes, i think we can indicate which we've checked off the list (profile tagging, instagram) and note the remaining broken-out issues, such as getting lead image fixed and creating a UI for inputting social media handles (which i broke out into https://github.com/publiclab/plots2/issues/1933) -- if we can get the lead description of the issue a bit more organized into a list like this then I can keep helping break out the sub-parts and get them in the queue. Thanks!

Also, @sagarpreet-chadha -- i wonder if we could test this out by pointing an IFTTT.com RSS recipe at a Github Gist of a static RSS feed with the correct <image> node properties as you suggest above. Then see if it can pick out the image from that -- in a test tweet! Then we could create a FTO for the rss builder template changes once we know that'll fix it.

Okay @jywarren ...working on it .

@jywarren , the above proposed solution did not worked . However changing various tags in rss i was able to produce images in tweets .

I used the IFTTT recipe : https://ifttt.com/applets/66362400d-rss-feed-to-post-a-tweet-with-image-and-url
and
link to changed xml format is : https://github.com/sagarpreet-chadha/sagarpreet-chadha.github.io/blob/master/feed.rss
and RSS Validator : https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fsagarpreet-chadha.github.io%2Ffeed.rss

screen shot 2018-01-11 at 2 32 01 am

should i open a FTO for same ?

Moreover , the email id and description/content are also shown in tweets now (in above pic) . Also instead of email-id we can give link to twitter profile of user (not tried though :P) .

That'd be great! Thank you so much!

On Jan 10, 2018 4:27 PM, "Sagarpreet Chadha" notifications@github.com
wrote:

Moreover , the email id and description/content are also shown in
tweets now (in above pic) . Also instead of email-id we can give link to
twitter profile of user (not tried though :P) .

—
You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/1802#issuecomment-356742153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ9Z4QhOUDWQe0X0DVME6WzC3c-HIks5tJSs5gaJpZM4Qr1b5
.

I have created FTO issue #1958 , although i think it is a little complicated for first timers .

Great. I'll take a look and add tags!

On Thu, Jan 11, 2018 at 8:26 AM, Sagarpreet Chadha <[email protected]

wrote:

I have created FTO issue #1958
https://github.com/publiclab/plots2/issues/1958 , although i think it
is a little complicated for first timers .

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/1802#issuecomment-356933289,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ4oMSAoi1JfDVNQKv8CHrLIvaBTXks5tJgwSgaJpZM4Qr1b5
.

Closing this as #1958 is solved... pending final tests but all looks in order! Thanks all!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  Â·  3Comments

grvsachdeva picture grvsachdeva  Â·  3Comments

grvsachdeva picture grvsachdeva  Â·  3Comments

noi5e picture noi5e  Â·  3Comments

milaaraujo picture milaaraujo  Â·  3Comments