Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclamation mark missing in facebook API name

My facebook api name contains exclamation mark (!). Whenever I share something on facebook through the API, the post contains the API name, but it removes the exclamation mark. Does anyone have any idea about how to display !.

EDIT 1: Please see below image to get better idea of my problem. enter image description here

like image 756
DipakSonara Avatar asked Apr 17 '12 10:04

DipakSonara


2 Answers

The 'via' link's text on Facebook.com in News Feed or on Timeline isn't populated by anything in your IOS App's code or ShareKit configuration; it's from the App's basic settings page, accessible at https://developers.facebook.com/apps when logged in as an admin of the app

For example, here's my app settings for a test app:

App settings page

And how a post appears:

sample post

If i change the app name:

App settings page after change

It appears with the !

Sample post after change

like image 138
Igy Avatar answered Oct 20 '22 03:10

Igy


I've tried with "& #33;" and "& #x21;" (without space and without quotes) and it's working, can you try again?

EDIT


I think that the problem is in the method: - (BOOL)send from the class SHKFacebook.m. Make sure that the SHKMyAppName or your SHKItem info is encoding with SHKEncode and not with SHKEncodeURL

like image 32
Jonathan Naguin Avatar answered Oct 20 '22 01:10

Jonathan Naguin