FAQ
im new to django, and i am working on a project, a selling and buying
website, where a user can post about a product that he/she wants to sell,
and my part right now is sharing posts from the site with facebook, and
twitter. i was wondering how to test such a thing, like unit testing,
knowing that i implemented front end only, just an HTML file.
and i have another question, how can i take a post url, and make it the
link to be shared with facebook/twitter, for example, a facebook/twitter
share button is located under or next to each post, and each button when
pressed on, redirects to fb sharing, and has that specific post's link
appearing. how to do that?

check the attached image, instead of facebook dialogs and the flowers img,
i wasnt the post link, and probably an img too.

thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Sara ismail at Apr 10, 2013 at 3:56 pm
    can anyone help me?!
    On Wednesday, April 10, 2013 4:50:51 PM UTC+2, sara ismail wrote:

    im new to django, and i am working on a project, a selling and buying
    website, where a user can post about a product that he/she wants to sell,
    and my part right now is sharing posts from the site with facebook, and
    twitter. i was wondering how to test such a thing, like unit testing,
    knowing that i implemented front end only, just an HTML file.
    and i have another question, how can i take a post url, and make it the
    link to be shared with facebook/twitter, for example, a facebook/twitter
    share button is located under or next to each post, and each button when
    pressed on, redirects to fb sharing, and has that specific post's link
    appearing. how to do that?

    check the attached image, instead of facebook dialogs and the flowers img,
    i wasnt the post link, and probably an img too.

    thanks in advance!
    --
    You received this message because you are subscribed to the Google Groups "Django users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
    To post to this group, send email to django-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/django-users?hl=en.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Bill Freeman at Apr 10, 2013 at 9:27 pm

    On Wed, Apr 10, 2013 at 11:55 AM, sara ismail wrote:

    can anyone help me?!
    On Wednesday, April 10, 2013 4:50:51 PM UTC+2, sara ismail wrote:

    im new to django, and i am working on a project, a selling and buying
    website, where a user can post about a product that he/she wants to sell,
    and my part right now is sharing posts from the site with facebook, and
    twitter. i was wondering how to test such a thing, like unit testing,
    knowing that i implemented front end only, just an HTML file.
    and i have another question, how can i take a post url, and make it the
    link to be shared with facebook/twitter, for example, a facebook/twitter
    share button is located under or next to each post, and each button when
    pressed on, redirects to fb sharing, and has that specific post's link
    appearing. how to do that?

    check the attached image, instead of facebook dialogs and the flowers
    img, i wasnt the post link, and probably an img too.

    thanks in advance!
    I see three possibilities:
    1. Test by posting to dummy twitter and facebook accounts, and the test
    code then as to follow the tweets/posts to see that they get there.
    Assures that things are working, but check the terms of service for these
    providers. In particular, see if they have some kind of sandbox mode
    (though differences between sandbox and live modes have been a problem for
    me with some services.

    2. Test against your own internal clone of the services. Now you have
    extra stuff to write, test, and maintain.

    3. Test against a mock network connection and simply capture the data and
    compare it to what you expect. Getting this working doesn't assure that it
    will work on the site, but once you have stuff working live you can do some
    captures to have better data to test against.

    --
    You received this message because you are subscribed to the Google Groups "Django users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
    To post to this group, send email to django-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/django-users?hl=en.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Sara ismail at Apr 12, 2013 at 5:53 pm
    didnt reallt get it, but thank u!

    On Wed, Apr 10, 2013 at 11:26 PM, Bill Freeman wrote:



    On Wed, Apr 10, 2013 at 11:55 AM, sara ismail wrote:

    can anyone help me?!
    On Wednesday, April 10, 2013 4:50:51 PM UTC+2, sara ismail wrote:

    im new to django, and i am working on a project, a selling and buying
    website, where a user can post about a product that he/she wants to sell,
    and my part right now is sharing posts from the site with facebook, and
    twitter. i was wondering how to test such a thing, like unit testing,
    knowing that i implemented front end only, just an HTML file.
    and i have another question, how can i take a post url, and make it the
    link to be shared with facebook/twitter, for example, a facebook/twitter
    share button is located under or next to each post, and each button when
    pressed on, redirects to fb sharing, and has that specific post's link
    appearing. how to do that?

    check the attached image, instead of facebook dialogs and the flowers
    img, i wasnt the post link, and probably an img too.

    thanks in advance!
    I see three possibilities:
    1. Test by posting to dummy twitter and facebook accounts, and the test
    code then as to follow the tweets/posts to see that they get there.
    Assures that things are working, but check the terms of service for these
    providers. In particular, see if they have some kind of sandbox mode
    (though differences between sandbox and live modes have been a problem for
    me with some services.

    2. Test against your own internal clone of the services. Now you have
    extra stuff to write, test, and maintain.

    3. Test against a mock network connection and simply capture the data and
    compare it to what you expect. Getting this working doesn't assure that it
    will work on the site, but once you have stuff working live you can do some
    captures to have better data to test against.

    --
    You received this message because you are subscribed to a topic in the
    Google Groups "Django users" group.
    To unsubscribe from this topic, visit
    https://groups.google.com/d/topic/django-users/nyP5oprDBlo/unsubscribe?hl=en
    .
    To unsubscribe from this group and all its topics, send an email to
    django-users+unsubscribe@googlegroups.com.
    To post to this group, send email to django-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/django-users?hl=en.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "Django users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
    To post to this group, send email to django-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/django-users?hl=en.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdjango-users @
categoriesdjango, python
postedApr 10, '13 at 2:57p
activeApr 12, '13 at 5:53p
posts4
users2
websitedjangoproject.com

2 users in discussion

Sara ismail: 3 posts Bill Freeman: 1 post

People

Translate

site design / logo © 2022 Grokbase