I want a user to be able to tweet images that are on my site.
First I checked out Cards but the docs say:
For photos and animated GIFs, upload the media directly with the Tweet or consider using the Twitter API to upload media.
So I check out the docs and there are ways to do this.
I can't figure out if you are able to upload images from your site using the API, but having them posted by a user's twitter account, won't all of the tweets come from whatever account I set in the script?
Is it possible to let a user upload an image from my site or will I have to use cards?
Related
I'm trying to find some info online on how to update my user's profile picture on the profile page in the same way that social media applications do it, i.e. by clicking on the profile picture itself and getting asked for the file upload straight away. However, all I'm finding online is options to create a form to do that job, but then it's going to be an upload button that does the job, which is not the same.
How do I get the image to be clickable, opening a file upload after I click it that would then update my model ImageField?
I have a react PWA application, it has functionality in order to post the image to Instagram story. To do this, the image is saved in the gallery and Instagram picks it up. Is it possible to implement such functionality on iOS13?
I am displaying profile feed posts in website using graph api. graph api call is look like this -
https://graph.facebook.com/me/feed?fields=id,from,message,story,picture,link,source...&access_token=token here
so getting data by above call, i display posts by html codes in my site.
I display profile picture by this html code -
<img class="msfb-wall-avatar" src="https://graph.facebook.com/app_scoped_profile_id/picture?type=square">
here app_scoped_profile_id i got from graph api call is different from normal profile id and is specific to the facebook application as i used that application's user token in above graph api call.
But now profile picture is not being shown, before there were no problems, so look like there were some changes in FB graph api. If i manually load above img src url in browser then i see some browser errors.So look like graph api not taking that app scoped user id to display profile pic.
So what i to do to display profile picture when displaying user profile feed posts according to any latest changes from facebook Graph Api?
I am also experiencing this problem at the moment. Some time ago I was experiencing it as well. At that time it was reported to be a bug. I think it might be a bug again this time.
See the following links for more info: Facebook graph user picture won't show on mobile devices and https://developers.facebook.com/bugs/560392384345729/
I want to share video and image from my site to whatsapp, can its possible. Realted to this I searched google but I am only able to find this link :-
https://github.com/kriskbx/whatsapp-sharing and in this link there is specify that we can't share image and video from our website to whatsapp. Please clear
You could send a link to a web page there the image/video is hosted via deep link:
Share via WhatsApp
And sending media directly wont work
Is there any way in which I can initiate a profile picture upload on Facebook using their Javascript Graph API. I have looked in many places for an answer and the closest I had got was to how to set a facebook profile picture using the graph api. But the "makeprofile=1" does not seem to be working.
&makeprofile=1 seems to be deprecated.
Use the mobile link URL instead: http://m.facebook.com/photo.php?fbid=[photo-id]&prof
You'll get a screen with your picture and a button asking the user to confirm that he wants to use it as profile picture.
Source: https://stackoverflow.com/a/37480622