Unable to set Read-Write permission for twitter app - mobile

I'm stuck in a weird issue while creating a twitter app.
Here i'm supposed to build an app with read-write permission through Twitter's Application Management service ( ridiculous service actually :/ ).
So i've created an app so far. But the problem is that, When i'm trying to set the "Read and Write" permission through Permission tab, It's throwing an error saying,
"You must add your mobile phone to your Twitter profile before granting your application write capabilities. Please read https://support.twitter.com/articles/110250-adding-your-mobile-number-to-your-account-via-web for more information"
Then if try i to add a mobile number through my twitter profile,
Again it's throwing an error saying,
"Sorry, we don't have a connection to your carrier yet!"
P.S. I've tried all the major carriers e.g., Idea, Vodafone, BSNL, DOCOMO.
so, plz help me get rid of this issue by any way.

There is workaround for this problem.
Install Twitter android app in your mobile
Login to your account
Under the options menu, select Settings and then select your account
Now select Security, this will prompt you to add phone number, then click OK.
You will be redirected to a browser page, enter your mobile number there and save.
Now you can go back to your account in normal desktop browser and change the access level settings to read and write.
Cheers!

Thanks for your great efforts guys.
But, It's already fixed by the twitter's own development team for me.

Related

Word Plugin Desktop version not let me login by AzureAD

I am building Word Plugin, the Word Online seems ok, I login by my "Work or school" account, and my plugin use AzureAD to login, since I already log in Word Online, my plugin just log me in directly (I use Owin OpenIdConnect).
I expect to get the same result for Desktop version of Word, however, it doesn't work. When I clicked "login" button in my plugin, it ask me to "pick up account", when I click my account, it open a web browser shows
"We couldn't sign you into this application with your user account. Your account may not work with this application, or we may not be able to sign you in automatically right now. Try selecting "Use another account" and then sign in again."
If I choose "Use another account" to login, it shows below error
"Sorry, but we’re having trouble signing you in.
AADSTS90056: This endpoint only accepts POST requests. Received a GET request."
Any idea?
I found the answer, make sure you always upgrade to the latest Word, the working software version is Version 1807 (Build 10325.20082).

System.TypeException: You are already logged in

I am trying to create portal user by using:
Site.createPortalUser(u, account.Id,'Sep#2012',true); method.
But i am getting the type exception:
"System.TypeException: You are already logged in".
I am testing with system admin profile.
Could any one please suggest what to do to resolve the issue.
This is because you are testing the community by Admin profile.
Solution is you should open the community page on an incognito browser so that you are accessing the page as a real Guest user.

DotNetNuke - DnnImageHandler.ashx - error 500

Clean Dnn Version : 09.01.01 (129)
When I work with Dnn and have javascript console opened, a lot of times I get error:
/DnnImageHandler.ashx?mode=profilepic&userId=1&h=32&w=32 500 (Internal
Server Error)
At the same time the image in the toolbar profile is missing. Where an how I can see what is working wrong what logs to check? If I go to Manage / Admin Logs and select Log Settings There is a lot of stuf I can enable, but dont know what can be right to see this error and try to find something more.
If I try to open this link in another browser window most of the time everithing is OK and I get generic user image with "?" back.
Also does anyone else see this errors?
Found the same error here:
https://dnntracker.atlassian.net/browse/DNN-9581
It is fixed in dnn 9.2
So I just spent the past hour trying to figure this out, and had to do a lot of cleanup on one of my DNN instances where it was occurring, but once I got all the cleanup done I think it comes down to this.
You're logged in with a Host/SuperUser account correct?
If you login as ANY other user, one of the Users in the Portal, it works correctly?
I ended up having to fix my "profile" page, the site was referencing skins that didn't exist anymore on the profile page, then containers that didn't exist. Once I cleaned all that up, I was able to navigate to the profile page, click on Edit profile, and once I edited the profile, I uploaded a new avatar for the HOST user and was able to get the image to render properly.
I think the issue has something to do with HOST accounts and either referencing an image that isn't part of the current portal, OR HOST accounts and referencing a default image that doesn't exist due to it being a host account, instead of a standard user account.
So how to fix?
Try uploading a profile photo for your account on the current portal and see if that resolves.

How to get post id when we share our content using share dialog?

I am phone-gap developer. I make a application for getting like and comment via post image caption on Facebook. So we are using a plugin of iOS and android for the same but i am not getting any post-id in return after sharing the image through default share dialog in both.
Plugin Link : https://github.com/jeduan/cordova-plugin-facebook4
Use Case in android :-
1- We are getting post-id when Facebook application is not installed in device.
2- But we are unable to get the post-id when Facebook application is installed in the device.
Use Case in iPhone :-
1- We don't get any response after sharing images in iPhone device.
2- But getting response (post-id) when share through simulator.
Please help me with proper solution. It would be great if you join us in team-viewer to solve our problem.
Thanks in advance.
The only way to get the post id is to authorize users with the publish_actions permission - you would also need the user_posts permission to get access to the new post in order to get the likes/comments. According to your comments, you want to pay users for those - which is not allowed and Facebook will never approve the required permission in the neccessary login review process.
In other words: It is not allowed and not possible.

Site.com Error for system administrator

I am trying to edit site.com site in my org, Through i am system administrator it gives me access level error shown below:
'you do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.'
Any suggestion??
Check the security tips from https://salesforce.stackexchange.com/questions/5598/permission-problem-in-sales-forece and http://boards.developerforce.com/t5/Force-com-Sites-Site-com/page-is-showing-insufficient-privilege/td-p/233797
If you're sure the security of the Site is fine - try to debug the site https://salesforce.stackexchange.com/questions/1149/how-can-i-get-a-debug-log-for-the-sites-guest-user-public-profile (because you might be getting an Apex error that's not being displayed on your VF page).
Did the site used to work or is it new? If it's new I'm betting on permissions (first 2 links), Guest User profile should be examined if he has access to the objects you're using...
Last but not least: there's a bug they've fixed 5 days ago: http://success.salesforce.com/issues_view?id=a1p30000000RivgAAC Maybe you need to use this workaround, maybe you simply can clone the site and it'll work fine...
you have to check your profile, and i guess that there is someone who have created the profile for you and delegate you to be an administrator, if this is not your problem, you have to go to your personnal informations and click edit and you may find a checkbox which concerns "Site Publisher" you have to check it to be able to create and publish your site :)

Resources