Sharekit facebook: issue after first wrong login - iphone

I am using sharekit 0.2.1, and I am facing an issue after the first wrong login. The scenario is like this:
open sharing view and try to login with wrong credentials.
close the sharing view or double tap the login button.
open sharing view and login with real username and password, try to share something.
This is when bad things start to happen:
-The white sharing view wont disappear until the little X in top right corner is pressed.
-I am getting this posted on facebook
instead of getting
If the sharing window wasn't closed (ensure that step 2 is done) everything works as intended.
Can anyone help me solve these issues?

Yes, had to rebuild everything myself. And it was easier than I thought, and way more robust than sharekit.

Related

Typing my app name into the Facebook search bar triggers FBRPC error

Okay, I'm at my wits end - I can't figure this one out. If you go into Facebook in Safari on a desktop/laptop and in the search bar type the name of my app: "Hopple Hop", and then click on the app itself (not the app page), instead of launching the app, it triggers this error message in Safari:
"Safari can't open "fbrpc://nativethirdparty/f?appid="
Followed by hundreds of characters. Basically, it's a big long URL string, in the "fbrpc://" protocol, and it tries to launch directly into the browser as-is.
As you can imagine, this is not the intended functionality of searching for my app. The intended functionality is that they type "Hopple Hop", click on it, and the Facebook canvas game starts. If you go to
https://www.facebook.com/appcenter/hopplehop/
You can see it there. And if you click "Play Now", it launches properly from:
https://apps.facebook.com/hopplehop/
I know it's probably a configuration issue. There is also an iOS app to go with it.
I'm not sure what the end cause was, to be honest. It appears to be a very specific configuration issue with my phone / Facebook account and the way I've authorized the game. It doesn't seem to be an issue for anyone else. I don't unfortunately know the root cause.
But if anyone else sees this error, it's likely only you are seeing it.
Thanks,
Glen

Facebook like button press does not stay liked

I'm working on a site for a client. The site is built in Joomla and is using a Facebook like button on each page. When a user clicks a like button it unclicks itself after a second or two.
I've seen several similar problems here but none have provided enough insight to help me figure out what to do to fix this problem.
I ran the page through the Facebook debugger:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.theartoflove.net%2Findex.php%2F9-blog%2Fmen%2F27-go-ahead-and-ask-her-out
but I don't have a clue how to figure out what that result is telling me. The URL I used as a test in the debugger is:
http://www.theartoflove.net/index.php/9-blog/men/27-go-ahead-and-ask-her-out
Anyone know what I need to do to fix this problem? It seems to happen regardless of what like box I put on the site (I've tried three different ones so far).
My sincere thanks for any help!
When I clicked the like button, a small 'CONFIRM' link appeared under the "Like" widget, i had to click the 'CONFIRM' link (which brought up a dialog box asking me to confirm that I liked the page) in order to get the "Like" to stick.
See image
Facebook sometimes makes the arbitrary determination that your page is 'spammy' and adds extra precautions like 'CONFIRM'. That may be part of what is going on.
The code is reentrant and the developer is flipping the bit instead of verifying the current state with a conditional before setting the value. (This is a common coding mistake. Too common.)

Facebook Feed Dialog through WebView in Unity is Blank

I have been using a WebView dropped into Unity(Found here: https://github.com/gree/unity-webview) for implementing Facebook connection. The WebView has been working very well for authorization of the user in the OAuth dialog, but when I try to access the feed dialog for posting to a friend, I end up with a blank white screen. The same generated URL when dropped into a browser works just fine.
The feed dialog URL I generate looks like this:
http://m.facebook.com/dialog/feed?access_token={Access Token}&app_id={App ID}&from={Authroized User}&to={Selected Friend ID}&link={Post Link}&name={Post Name}&
description={Post Description}&redirect_uri={My Redirect Page.aspx}
Example of the functioning Auth dialog URL I generate looks like this:
http://m.facebook.com/dialog/oauth?client_id={App ID}&redirect_uri={My Auth Redirect.aspx}&scope=publish_stream,publish_actions&response_type=token
Wondering if anyone knows what could be causing this with this particular WebView.
Thanks in advance for any assistance.
Was tearing my hair out about this but got to the bottom of it. I had tried escaping the URL and it did not work the other day - but then I tried escaping just the values of some of the parameters being sent that had spaces this morning. This seemed to fix it. Simple mistake, but if anyone runs into this, don't forget ESCAPING IS EVERYTHING! Often you are working in something higher level(At least I am) where URLs and parameters get escaped automatically, lesson learned I guess :D

Open link in browser or open app

I have made an iphone app. The app calls the webpage and displays the content. Server side coding is in php. The problem is I have several links in the webpage. When I click on the link in the webpage it opens the entire page and I am no longer able to go back to where I was.
I tried iframe but not all the website support it like google, facebook. What I am looking is someway to open the link in browser or launch the another app, like the app of facebook. I have quite thoroughly searched for the solution without much luck.
Any pointers would be greatly appreciated.
Thanks
To implement navigation for UIWebView you can do the following: create two buttons, one for going forward in history and one for going back. And here is the code for that buttons you must include:
//For going forward
if (yourWebView.canGoForward)
{
yourWebView.goForward();
}
//For going back
if (yourWebView.canGoBack)
{
yourWebView.goBack();
}

Misconfigured App on Facebook but no errors?

I am trying to set up a tab with a link to a contact form from my site on Facebook.
I developed the 'app' through the developers site and have set up the page tab.
I've saved the app and it saves it fine (displaying a message saying changes were saved but it might take some time to propagate across all servers.)
Well I waited an hour and I still can't add the tab to my page. I tried locating the app page directly using the namespace, but I get an error message saying:
"[My App] cannot be displayed because the app is misconfigured."
I don't know how it is misconfigured? There are no errors when saving, so I don't know what the issue is or how to go about fixing it. There are no problems with the app that I can see... how am I supposed to know what's wrong with it?
All it is is a page tab. I've put the link to the page tab in, I don't have a secure page (https) so I have left this box blank but I don't know what to do now.
Any ideas how I can find out in what way it is 'misconfigured'?
This error usually occurs when you try to view the App Center page for the app when the app doesn't have the 'App Details' tab settings populated.
So instead of:
https://www.facebook.com/appcenter/APP_NAMESPACE
Make sure you are loading:
https://apps.facebook.com/APP_NAMESPACE
That page will display hints (if you are admin or developer of the app) on what you are missing.
And, adding to the answer already given by #Donn Lee, which pointed to the right way, you must also ADD A PLATFORM in settings, in https://developers.facebook.com/apps/APP-ID/settings/