jasonbhart / mmh

"Meet Me Here" website to help you organize ad hoc events with your friends on the fly
0 stars 0 forks source link

Sharing activity link is displaying wrong info #414

Open pixiewillow opened 8 years ago

pixiewillow commented 8 years ago

I created an activity and then choose 'copy link'. I pasted the link in a facebook message, and the below screenshot is the result.

image

pixiewillow commented 8 years ago

Related to ticket #309

loipl commented 8 years ago

@jasonbhart Could we resolve this by copying the "socialivo.com:8080/shareFacebook" URL instead? The URL can be different from what user be redirected into, but the meta tag shown in Facebook will be correct...

jasonbhart commented 8 years ago

Im open to this but I dont understand why we dont filter out certain user agent strings from seeing the tutorial. We will need to do something similar for search engine spiders as well, so we need a solution which works across the board.

pixiewillow commented 8 years ago

@loipl - I don't see a change in behavior. I followed my original ticket to reproduce, and am still getting the same results when I use the copy link option and then paste it into a facebook message.

loipl commented 8 years ago

Should work now, please test again.

pixiewillow commented 8 years ago

@loipl - The messaging still is right... it should be consistent with the messaging used when sharing via facebook button. The first screenshot is what the share link is currently displaying, and the second screenshot is the messaging when sharing via Facebook button.

image

image

loipl commented 8 years ago

@edgeprod please tell us know if you have any suggestion on this issue.

domthewop commented 8 years ago

Unfortunately, no. Our discussion, although helpful, didn't open any additional avenues. I think we should shelve this for now.

jasonbhart commented 8 years ago

Waiting on #496

domthewop commented 8 years ago

We should consider using PHP for just this one page. We can defer most of the processing back to AngularJS, but using a .php extension will allow us to dynamically allocate portions of the page without upsetting the entire architecture.

diepbuihuu commented 8 years ago

@edgeprod I've thought of this solution before but as far as I know, our main server does not support php for now.

domthewop commented 8 years ago

We would have to migrate to EC2, correct. On Jan 14, 2016 8:03 PM, "diepbuihuu" notifications@github.com wrote:

@edgeprod https://github.com/edgeprod I've think of this solution before but as far as I know, our main server does not support php for now.

— Reply to this email directly or view it on GitHub https://github.com/jasonbhart/mmh/issues/414#issuecomment-171866776.

diepbuihuu commented 8 years ago

If we move to ec2, this problem would be simple. However, I have no information about it!

domthewop commented 8 years ago

Understood. I'll chat with Jason about architecture.

domthewop commented 8 years ago

I've taken a look at our options, and it seems that we may be able to use the "bring your own node" option with a dedicated server, and mimic EC2's container services. @jasonbhart my server is FreeBSD. Do you have a server running any of the following?

Ubuntu 14.04, 15.04 Centos 7 Debian 8 Fedora 21, 22

jasonbhart commented 8 years ago

@edgeprod I would like to see if we can use .htaccess to sidestep the need to port away from firebase at this point. @diepbuihuu

diepbuihuu commented 8 years ago

I've done with the htaccess and it works in other environments (my testing servers). However I haven't pushed it to github yet because .htaccess often has big effect on server. Please ping me when you are online so that we can deploy it together.

jasonbhart commented 8 years ago

Please work with Dom to figure out how to use htaccess with Firebase hosting

pixiewillow commented 8 years ago

Spoke with Dom, and he PM'd @diepbuihuu regarding this on 1/22.

domthewop commented 8 years ago

Reply:

diepbuihuu [6:01 PM] I've stopped working on that diepbuihuu [6:02] It seems .htaccess doesn't being supported by firebase server.

I did some research, and it seems that Firebase does SOME "mock" htaccess types of things. We might want to dig more deeply into this functionality, and see if it leads somewhere useful:

https://www.firebase.com/docs/hosting/guide/url-redirects-rewrites.html