Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Two-Way Communication with Social Media

Featured Replies

I'm developing a website where users can earn discounts on my items by liking and sharing links to social media websites (e.g. Facebook, Twitter, etc.)

 

I have the share function figured out, but I don't know how to get acknowledgement from Facebook, Twitter, etc. that the sharing has been successful (i.e. that the link has been successfully posted to the users Facebook, Twitter, etc. account).

 

Users should only receive discounts once the link, etc. has been successfully shared.

 

Can anyone provide some insight into how I can get this function to work?

 

I appreciate your help. Thanks in advance!

  • Author

Thank you for your reply.

 

I'm a bit new to this. Could you please explain what API is?

 

Also, if I were to run a search for this type of function, which keywords should I be using?

 

Thanks again!

At its most basic Application Programming Interface is how applications communicate with each other. Twitter, Facebook, Google Maps, Wordpress etc provide 'rules' and entry points for other applications to use or extend their functionality. Wordpress plugins use the wordpress api set to add functions.

 

You will have to go through the documentation to learn how to use their api - search twitter api or facebook api.

 

Users should only receive discounts once the link, etc. has been successfully shared.

Ever thought what happens if a user decides to delete the post after he has shared it?

  • Author
Ever thought what happens if a user decides to delete the post after he has shared it?

 

Yes, but I'm not familiar enough with this type of programming to consider possible solutions. While I've searched for API, and found a good amount of documentation, my meager background in HTML/CSS is too inadequate to allow me to take the next step.

 

I'm trying to get in touch with others who can help explain this to me. If anyone has some suggestions, I'd be greatly appreciative.

  • 4 weeks later...

It depends what language you will be programming your site in (php etc). Often the service (twitter/facebook) will have frameworks for you do download and use. It saves you doing all of the coding yourself.

 

For example there is a .Net framework for Facebook out there...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.