Skip to main content
#SocialShare

OverView
=====================================================================================
Socialshare provide a mechanism for share a contents on social media’s


Dependencies
======================================================================================

Twitter support Depends on Twython
Access Token for the users.

Installation
======================================================================================

From pypi:
==========

Pip install socialshare or easy_install socialshare
From github:
==========

Clone : https://github.com/renjith-tring/socialshare

Configuration in Django projects:
================================



Settings.py
===========

Installed apps:

INSTALLED_APPS = (
'Socialshare',
)


Views.py
=============
From socialshare.share import *
[ linkedin_share, facebook_share, google_share , twitter_share ]

Facebook Share :
===============
response = facebook_share(params=None,access_token=None)

Params
1 . params = {'message':'your own message','link':'image link[make sure the url]','caption':'Caption', 'description':'Description', 'created_time'://current date}

2. Access_token = “ user accesstoken “
3 . response in json format


Linkedin Share
===============

response = linkedin_share(params=None,access_token=None)

Params
1. params = {'comment':comment,'content': {'title': title,'submitted-url':submitted_url, 'submitted-image-url':image_url,'description': description,},'visibility': {'code': 'anyone'}}
2 . access_token = “user token “

Google Plus Share
=================

Google is not providing stream api for share the contents , so here we are passing in the url for shared contents , then it will pop up in google plus comment window [ http://www.awesomescreenshot.com/image/1085814/ade4b9f86665dec52abe88eb10912a4e ] , then user can enter comments and publish in their account .

google_share(share_url=None)

Params
1 . share_url = “valid url “

Metadata

Release files for socialshare 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for socialshare 0.1.3
File Size Uploaded Provenance Actions
socialshare-0.1.3.tar.gz 4.4 kB Without provenance Details for socialshare-0.1.3.tar.gz

Release files / socialshare-0.1.3.tar.gz

Download URL socialshare-0.1.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
79c9ded4ca0a95cd2090aa291b758596558cc6843461c80a0eb4903594a06a18
BLAKE2b-256 checksum
How to use checksums
f896631792573f61bae0fc8135e848fd954f55c4fcd7177577f16d2934c280d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for socialshare 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page