Facebook Share Dialog isn't working from mobile - facebook-share

I'm using the Facebook Share Dialog by using URL Redirection, followed this documentation:
https://developers.facebook.com/docs/sharing/reference/share-dialog/#:~:text=for%20Webmasters.-,Share%20by%20Using%20URL%20Redirection,-To%20share%20a
When submitting a private message via mobile, the next error arises: "Attachment Not Found: The attachment could not be found". It only happens in mobile. When I try it from desktop everything works fine.
I tried contact Facebook support but their support channel in no longer available for this feature.
Any idea?
Thanks!

Related

Allow more pages with facebook graph api

My app successfully connects to Facebook using Facebook's Graph API, requests access to the pages I want to post to and redirects back to my app. That works like charm.
My problem is that if I created a new page on Facebook, I cannot add it to my app:
When I try to connect again, Facebook seems to know what I have requested earlier and I'm immediately redirected to my app without the request which pages I want to allow access to.
How to reconnect or what's the normal way to fix that problem?
I use Facebook's PHP Graph SDK 5.7.
#CBroe That didn't work either, but then I've cleared all permissions and chosen to reopen the site selector dialog, chosen all sites and closed, removed the information from my database and reconnected... Now the dialog appeared! Thank you for your help! Helped me a lot!

I can't get Facebook app settings right for a photo upload

I have a vb6 application that creates a jpg image. I need to have the user click on a button to have that image uploaded to her Facebook page. I created a Facebook app and use an api (chilkat) with my vb6 to do the upload. But, I've really been stumbling around trying to get it working. On the Facebook side, what settings should I have to just upload a photo? For example, this runs on Windows PCs... what platform do I designate in my Facebook app??
Also, my current attempts get an error from Facebook saying that "Can't Load URL: The domain of this URL isn't included in the app's domains." I expect this upload to be from the user's PC to Facebook. What URL/domain do they want?
Are there samples of this type of thing that I could check? Thanks - John
New info as of Nov 12 --
I have the Facebook app set as a Website using "localhost" which seems to move me along a bit. But, now I get the error --
"The request is invalid because the app is configured as a desktop app"
Is that telling me my Facebook app is a desktop??... or that my vb6 code says it is a desktop? If I have to change the Facebook platform, it looks like I need a Windows store id? If so, is that just a simple registration (and $19)? Thanks - John

Desktop App Workflow Error When Logging In

Our desktop application integrates with Facebook using the desktop app workflow and for approx. 18 months has been working without any problems. However, we are starting to get reports from some users that they cannot get past the login process.
When the login is successful Facebook should be attaching the access_token to the redirect_uri. Our application detects this and moves the user to the main part of our Facebook integration. What appears to be happening in some situations is that the access_token parameter is missing which causes our application to leave our embedded browser window open with the following message from Facebook:
"Success
SECURITY WARNING: Please treat the URL above as you would your password and do not share it with anyone."
What is strange is that this does not occur with all Facebook accounts and which Facebook accounts it occurs with seems to be changing. For example, we had a report of this approx. 1 week ago but could not duplicate it with my own Facebook account or with a colleague's Facebook account. Today, I still cannot duplicate it with my own Facebook account but my colleague now gets the problem.
The URL our code sends to Facebook is:
https://graph.facebook.com/oauth/authorize?client_id=xxxx&redirect_uri=http://www.facebook.com/connect/login_success.html&type=user_agent&display=popup&scope=read_friendlists,user_photos,friends_photos,user_photo_video_tags,friends_photo_video_tags,user_events,friends_events,user_groups,friends_groups
Reading the latest API documentation it looks like they recommend a different way to connect which we have also tried:
https://www.facebook.com/dialog/oauth?client_id=xxxx&redirect_uri=http://www.facebook.com/connect/login_success.html&scope=read_friendlists,user_photos,friends_photos,user_photo_video_tags,friends_photo_video_tags,user_events,friends_events,user_groups,friends_groups&response_type=token
To rule out our application as the cause we have tried these URLs directly within a web browser. What we find is that when using my Facebook account the browser re-directs to the success URL that includes the access_token parameter but when using my colleague's account the browser re-directs to the success URL that includes the access_token and then immediately re-directs again to the success URL without the access_token.
so... As far as we can tell this is either:
a) A change to the API which we cannot find documented anywhere
b) A bug in Facebook
c) Something that is now controlled by the user's Facebook security settings
Is there anybody who could explain why Facebook is acting differently with different accounts and how we can go about fixing this?
Thanks.
Kevin.
I have the same problem in my desktop applications.
And I just solve it with careful reading in ht*ps://developers.facebook.com/docs/howtos/login/login-for-desktop/. The solution is to change redirect_uri from ht*p://www.facebook.com/... into ht*ps://www.facebook.com/...
Hope this will help you just like it help me
NB:
change ht*p into http
sorry i have to change the http into ht*p so that i can post the answer.

Embedding Facebook Social Like Plugin in Windows 8 Metro app page

Has anyone succeeded embedding Facebook Like button in metro app page? I tried both flavors HTML5 and iframe and none of them seem to be working fully.
What works:
Both flavors can render the not-logged-in version of Like button with total like count correctly.
What does not work:
Clicking on “Like” button takes user to metro IE for sign-in but its unable to return to the metro app page. User stays in metro IE blank page and even if you forcefully come back to metro app and restart, it still does not recognize that you are logged in to facebook.
Has anyone successfully able to add fully functional like button in metro app? Any pointers on what else to try?
No you can't. You can't integrate js from the outside like you would do on a normal webpage.
Instead you can login to Facebook from a Windows 8 application using OAuth. Once you have a valid access token you can perform any action using Facebook's Graph API, but liking a page is not supported (though the documentation is misleading).
Take a look at the Web Authentication sample SDK app.

can't display mobile dialog authentication on Nokia N70

Using of mobile dialog authentication is working well for other mobile devices except on this Nokia N70.
1) I call to graph api
https://graph.facebook.com/oauth/authorize?type=user_agent&display=wap&client_id=xxxx&redirect_uri=xxxx&scope=user_photos,read_stream
2) which make for mobile devices to display the below uri
https://m.facebook.com/dialog/permissions.request?_path=permissions.request&app_id=xxx&redirect_uri=xxxx&display=wap&type=user_agent&xxx
But, it can't display the 2) step dialog and automatically redirected to my redirect_uri which gave me errors of 404. Actually it show display authentication dialog box and should get grant from User.
What exactly might be the issue?
While I can't find specific information on why it wouldn't work I would most likely suspect that because the N70 is a 6 year old phone and uses WAP 2.0, which Facebook actually hardly supports anymore as stated in numerous places. (e.g. Facebook Feed Dialog Mobile Url: Issue with display=wap
All modern handsets support full HTML these days. So WAP is mostly dead besides people who haven't updated their handsets in the last 3-4 years.
My suggestion is, why are you hoping to support WAP and is it really needed?
UPDATE [2012-07-07]: Facebook is now removing display=wap, hence making it completely dead in Facebook's world.